Colors API
ToolsMAINTAINED1 token / call

Colors API

Everything a product does with color, in one API. 31,919 human-curated color names (the MIT color-names project, with its quality flag β€” nearest-name defaults to the 4,962 curated best names so #ff5733 comes back 'Orange Soda', not something unpronounceable) plus all CSS named colors with their spec keywords. Convert anything to everything: feed it hex (#ff5733, short #f53), rgb(255,87,51), bare '255,87,51' or hsl(11,100%,60%) and get hex, RGB, HSL, HSV, CMYK, WCAG relative luminance, a dark/light flag, the nearest curated name AND the nearest CSS keyword (tomato, 23.3 away). Generate named palettes β€” complementary, analogous, triadic, tetradic, split-complementary, monochromatic, shades, tints β€” with the base color preserved exactly (no HSL round-trip drift). Check WCAG accessibility: contrast ratio with AA/AAA pass-fail for normal and large text (black on white = 21). Search 32k names ('sunset' β†’ 74 colors), filter to curated or CSS sets, or grab a random one. Design tools, theme builders, accessibility linters, data-viz libraries, e-commerce swatch naming β€” one token per call.

No credit card requiredAccess to 20+ APIsCancel anytime
response.json
{
  "ok": true,
  "hex": "#ff5733",
  "rgb": {
    "r": 255,
    "g": 87,
    "b": 51
  },
  "hsl": {
    "h": 11,
    "s": 100,
    "l": 60
  },
  "hsv": {
    "h": 11,
    "s": 80,
    "v": 100
  },
  "cmyk": {
    "c": 0,
    "m": 65.88,
    "y": 80,
    "k": 0
  },
  "luminance": 0.283,
  "is_dark": false,
  "name": {
    "hex": "#fa5b3d",
    "name": "Orange Soda",
    "is_bestof": true,
    "is_css": false,
    "distance": 11.87,
    "exact": false
  },
  "nearest_css": {
    "hex": "#ff6347",
    "name": "tomato",
    "distance": 23.32
  }
}
7endpoints
1tokens / call
99.9%uptime SLA
Lowavg latency

Why developers pick this API

Production-ready

Production Ready

Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.

Simple Integration

Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.

One Key, 20+ APIs

Your DataAndAPIs subscription unlocks every API on the platform β€” anime, finance, sports, and more.

Code snippets

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
7endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses β€” auto-completion in your IDE
  • Tracks the API in lockstep β€” new endpoints land same day
  • One key works across 20+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  '{API_URL}',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

πŸ”’ Subscribe to unlock the live API URL

Developer playground

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Please subscribe to see the API URL

Headers

X-Api-Key

Query Parameters

value(Required)

Please subscribe to see the actual API URL

import axios from 'axios';

const url = '{API_URL}';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

Pricing

One subscription. Every API.

Tokens unlock this API and 20+ others on DataAndAPIs. Switch APIs any time β€” we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales β†’

Common questions

The things that actually block the upgrade.

Ship Colors API this afternoon.

500 free tokens. No card. Plus 20+ other APIs on the same key.