ColorID paint color API
Paint colors from 35 brands and RAL, by name, code or hex.
Free, no key. REST at https://colorid.org/api/v1/, MCP at https://colorid.org/mcp
GET /api/v1/match?hex=7F9B8E&brands=sherwin-williams,benjamin-moore,behr, 27 November 2026Quick start
Every endpoint is a plain HTTPS GET that returns JSON. There is no sign-up and no key. Responses send Access-Control-Allow-Origin: *, so you can call them from a browser, and they can be cached for an hour.
curl https://colorid.org/api/v1/colors/sherwin-williams/7029 The data is the same library the ColorID app uses: 35 paint brands plus RAL Classic. Free use requires a visible link back to colorid.org (see Attribution).
Endpoints
GET /api/v1/brands
Every brand and color standard with its key, type (paint or standard), color count and page. Use the keys in the other endpoints.
curl https://colorid.org/api/v1/brands {
"brands": [
{"key":"asian-paints","name":"Asian Paints","type":"paint","count":2212,"url":"https://colorid.org/paint/asian-paints/"},
{"key":"ral","name":"RAL","type":"standard","count":216,"url":"https://colorid.org/ral/"},
{"key":"behr","name":"Behr","type":"paint","count":5439,"url":"https://colorid.org/paint/behr/"},
…
],
"attribution": { … }
} Shortened here. The live answer lists 36 entries.
GET /api/v1/colors/{brand}/{code}
One color by brand key and code. Case and spaces in the code are ignored, so SW 7029 and 7029 find the same Sherwin-Williams color. A code that contains / works encoded as %2F or as is.
curl https://colorid.org/api/v1/colors/sherwin-williams/7029 {
"color": {
"brand": {
"key": "sherwin-williams",
"name": "Sherwin-Williams"
},
"code": "7029",
"name": "Agreeable Gray",
"hex": "#D1CBC1",
"rgb": {
"r": 209,
"g": 203,
"b": 193
},
"lab": {
"l": 81.9,
"a": 0.34,
"b": 5.71
},
"lrv": {
"value": 60.39,
"source": "official"
},
"url": "https://colorid.org/paint/sherwin-williams/agreeable-gray-7029/"
},
"attribution": {
"required": true,
"text": "Color data by ColorID (colorid.org). Free use requires a visible link to https://colorid.org, and to the color page when you show a color.",
"url": "https://colorid.org/paint/sherwin-williams/agreeable-gray-7029/",
"html": "<a href=\"https://colorid.org/paint/sherwin-williams/agreeable-gray-7029/\">Color data by ColorID</a>"
}
} GET /api/v1/match?hex=RRGGBB
The closest color in each brand to a hex value, ranked by CIEDE2000 (ΔE). Only colors within ΔE 6 come back; a brand with nothing that close is left out.
| Parameter | Description |
|---|---|
hex | Required. Six hex digits; # is optional (%23 in a URL). |
brands | Optional. Comma-separated brand keys, at most 40. Default: all paint brands. RAL is searched only when you name ral. |
limit | Optional. How many brands to return, 1 to 10. Default 5. |
Each match carries deltaE and a verdict: veryClose under ΔE 2 (hard to tell apart on a wall), close under 4 (visible side by side), similar up to 6 (a usable substitute).
curl "https://colorid.org/api/v1/match?hex=7F9B8E&brands=sherwin-williams,benjamin-moore,behr" {
"query": {
"hex": "#7F9B8E",
"brands": [
"sherwin-williams",
"benjamin-moore",
"behr"
],
"limit": 5
},
"maxDeltaE": 6,
"matches": [
{
"brand": {
"key": "behr",
"name": "Behr"
},
"code": "S420-4",
"name": "Australian Jade",
"hex": "#84A194",
"rgb": {
"r": 132,
"g": 161,
"b": 148
},
"lab": {
"l": 63.78,
"a": -12.76,
"b": 3.43
},
"lrv": {
"value": 32.5,
"source": "calculated"
},
"url": "https://colorid.org/paint/behr/#color-118621",
"deltaE": 1.89,
"verdict": {
"level": "veryClose",
"label": "Very close"
}
},
{
"brand": {
"key": "sherwin-williams",
"name": "Sherwin-Williams"
},
"code": "9041",
"name": "Parisian Patina",
"hex": "#7D9B89",
"rgb": {
"r": 125,
"g": 155,
"b": 137
},
"lab": {
"l": 61.32,
"a": -14.21,
"b": 6
},
"lrv": {
"value": 29.74,
"source": "official"
},
"url": "https://colorid.org/paint/sherwin-williams/parisian-patina-9041/",
"deltaE": 2.06,
"verdict": {
"level": "close",
"label": "Close"
}
},
{
"brand": {
"key": "benjamin-moore",
"name": "Benjamin Moore"
},
"code": "AF-495",
"name": "Azores",
"hex": "#89A098",
"rgb": {
"r": 137,
"g": 160,
"b": 152
},
"lab": {
"l": 63.94,
"a": -9.69,
"b": 1.45
},
"lrv": {
"value": 33.61,
"source": "official"
},
"url": "https://colorid.org/paint/benjamin-moore/azores-af-495/",
"deltaE": 3.42,
"verdict": {
"level": "close",
"label": "Close"
}
}
],
"attribution": {
"required": true,
"text": "Color data by ColorID (colorid.org). Free use requires a visible link to https://colorid.org, and to the color page when you show a color.",
"url": "https://colorid.org",
"html": "<a href=\"https://colorid.org\">Color data by ColorID</a>"
}
} GET /api/v1/search?q=…
Colors by name or code. An exact code match comes first, then names and codes that contain the query.
| Parameter | Description |
|---|---|
q | Required. 2 to 64 characters. |
brand | Optional. One brand key. |
limit | Optional. 1 to 20. Default 10. There is no paging. |
curl "https://colorid.org/api/v1/search?q=hale%20navy&limit=2" {
"query": {
"q": "hale navy",
"brand": null,
"limit": 2
},
"results": [
{
"brand": {
"key": "benjamin-moore",
"name": "Benjamin Moore"
},
"code": "HC-154",
"name": "Hale Navy",
"hex": "#434B56",
"rgb": {
"r": 67,
"g": 75,
"b": 86
},
"lab": {
"l": 31.57,
"a": -0.47,
"b": -7.59
},
"lrv": {
"value": 8.36,
"source": "official"
},
"url": "https://colorid.org/paint/benjamin-moore/hale-navy-hc-154/"
}
],
"attribution": {
"required": true,
"text": "Color data by ColorID (colorid.org). Free use requires a visible link to https://colorid.org, and to the color page when you show a color.",
"url": "https://colorid.org",
"html": "<a href=\"https://colorid.org\">Color data by ColorID</a>"
}
} Color fields
| Field | Meaning |
|---|---|
code | The maker’s color code. For a few brands the code is the name. |
hex, rgb | The color in sRGB. A screen approximation of the paint, like every on-screen swatch. |
lab | CIELAB under D65. |
lrv | Light reflectance value, 0 to 100. source is official when the maker publishes it and calculated when it is worked out from the color. |
url | The color’s page on colorid.org. Link to it wherever you show the color. |
Errors use the same shape on every endpoint: {"error": {"status": 404, "message": "…"}, "attribution": {…}}, with status 400 for bad input, 404 for an unknown brand, color or path, 405 for a method other than GET, and 429 over the rate limit.
Limits
| Limit | Value |
|---|---|
| Rate | About 60 requests a minute per IP address, shared by the REST API and MCP. Over that you get 429 with Retry-After: 60. |
| Match | At most 10 brands per answer. |
| Search | At most 20 colors per answer, no paging. |
| MCP | One JSON-RPC message per request, 64 KB at most. |
No answer holds more than 20 colors, and there is no bulk download. If your project needs more than this, write to dev@colorid.org.
Attribution
Free use requires a visible link to colorid.org. Where you show a color, link to that color’s page as well. The link has to be a normal, followed link in your page’s own HTML, not hidden and not inside an iframe.
Every response, errors included, carries an attribution object. Its html field is the link to paste; for a single color it points at that color’s page:
<a href="https://colorid.org/paint/sherwin-williams/agreeable-gray-7029/">Color data by ColorID</a> For a list or a page that shows many colors, link each color to its url and credit the source once:
<a href="https://colorid.org">Color data by ColorID</a> MCP server
The MCP server offers the same data as tools for AI assistants, at one Streamable HTTP endpoint with no key or sign-in:
https://colorid.org/mcp | Tool | Arguments |
|---|---|
find_paint_colorFind a paint color | query, brand?, limit? |
match_colorMatch a color to paint | hex, brands?, limit? |
list_brandsList paint brands | none |
All three tools are read-only and return structured content with an output schema. Each result includes the color page url, and the server asks the assistant to link it when it shows a color.
Claude Code
claude mcp add --transport http colorid https://colorid.org/mcp Or add the JSON below to .mcp.json at the project root.
Claude Desktop and claude.ai
Customize, then Connectors, then + Add and Add custom connector. Name it ColorID, paste the server URL and choose No sign in. Custom connectors are open on every plan; the Free plan allows one.
Cursor
{
"mcpServers": {
"colorid": {
"url": "https://colorid.org/mcp"
}
}
} VS Code and Claude Code project file
{
"mcpServers": {
"colorid": {
"type": "http",
"url": "https://colorid.org/mcp"
}
}
} The server is stateless, with no sessions and no event stream. Clients on protocol 2025-03-26 through 2025-11-25 start with initialize; clients on 2026-07-28 send the version on every request.
Contact
Questions, higher limits, a brand we are missing or a wrong color:
dev@colorid.org