OpenColors
App · Images & Design · 11 actions
Look up any color on OpenColors, the free keyless color data API. Turn a hex code into RGB, HSL, HSV and CMYK, find out whether someone has named it and who, or get the nearest named color and how far off it is. Check a color's WCAG 2.1 contrast against white and black, see it as people with each kind of color blindness do, check which of up to a hundred colors are still unnamed in one request, search the colors people have named or list the newest, and pull the official palettes of more than 600 brands, from Spotify's green to Netflix's red.
Actions
| Action | What it does |
|---|---|
| Check color availability | Check which of up to 100 colors are still unnamed on OpenColors, in one request. |
| Check service status | Check whether OpenColors is answering, how quickly, and what it reports about itself: its own status, the state of its database and its version. |
| Check WCAG contrast | Check a color's WCAG 2.1 contrast against a white and a black background: the ratio on each, whether it passes AA and AAA for small text, large text and UI components, which of the two it reads best on, and the text color OpenColors recommends for anything written on top of it. |
| Get a brand's colors | Get one brand's official palette by name. |
| Get color statistics | Get the state of the OpenColors catalog: how many of the 16.7 million colors have been named, how many are still available, how many were named recently, and who has named the most colors. |
| List recently named colors | List the colors people have named on OpenColors most recently, newest first, up to the latest 50. |
| Look up a color | Look up any hex code and get it in every color model: RGB, HSL, HSV and CMYK, with the text color that reads best on it. |
| Name a color | Get a name for any color: its own name if someone has named it, otherwise the nearest named color and how far off it is, as a distance and as a word from imperceptible to very different. |
| Search brand colors | Search the official color palettes of more than 600 companies by brand name, or leave the search empty and page through all of them. |
| Search named colors | Search the colors people have named on OpenColors by a word in the name, and narrow to an owner by part of their name. |
| Simulate color blindness | See how a color looks to people with each kind of color vision deficiency: protanopia (red-blind), deuteranopia (green-blind), tritanopia (blue-blind) and achromatopsia (complete color blindness). |
Check color availability
Check which of up to 100 colors are still unnamed on OpenColors, in one request. Each color comes back as available or already named, with the name and owner when it is taken, and the two lists are summarized so a step can branch on the counts or take the available hexes straight into the next step.
Inputs
- Colors
hexeslistRequired - The colors to check, one per entry, in any hex spelling. Up to 100 at a time; a repeat is checked once. A single text of colors separated by commas works too.
Outputs
available_countnumber- How many are still unnamed.
available_hexeslist- The unnamed colors' hexes, in the order asked.
color_countnumber- How many colors were answered for.
colorslist- Each color OpenColors answered for, in the order asked.
named_countnumber- How many someone has already named.
named_hexeslist- The named colors' hexes, in the order asked.
requested_countnumber- How many different colors were asked about.
unanswered_hexeslist- Any colors asked about that OpenColors left out of its answer. Usually empty.
Example output
{
"available_count": 1,
"available_hexes": [
"3366CC"
],
"color_count": 2,
"colors": [
{
"available": false,
"css": "#007FFE",
"hex": "007FFE",
"hex_int": 32766,
"is_named": true,
"name": "Bianca Blue",
"owner": "Bianca"
},
{
"available": true,
"css": "#3366CC",
"hex": "3366CC",
"hex_int": 3368652,
"is_named": false,
"name": null,
"owner": null
}
],
"named_count": 1,
"named_hexes": [
"007FFE"
],
"requested_count": 2,
"unanswered_hexes": []
}Check service status
Check whether OpenColors is answering, how quickly, and what it reports about itself: its own status, the state of its database and its version. This is the one action that reports a problem as a value instead of failing the step, so a workflow can decide what to do about it.
Inputs
None.
Outputs
database_statustext- Its own word for its database's health.
messagetext- What was found, in a sentence.
onlinetrue/false- True when OpenColors answered and reports itself healthy.
reachabletrue/false- True when OpenColors answered at all.
reported_statustext- Its own word for its health, e.g. healthy.
response_time_msnumber- How long it took to answer, in milliseconds.
status_codenumber- The HTTP status it answered with. Null when it did not answer.
versiontext- The version of the API answering.
Example output
{
"database_status": "healthy",
"message": "OpenColors 1.0.0 is up and answering.",
"online": true,
"reachable": true,
"reported_status": "healthy",
"response_time_ms": 230.9,
"status_code": 200,
"version": "1.0.0"
}Check WCAG contrast
Check a color's WCAG 2.1 contrast against a white and a black background: the ratio on each, whether it passes AA and AAA for small text, large text and UI components, which of the two it reads best on, and the text color OpenColors recommends for anything written on top of it. Built for checking a brand color before it goes on a page.
Inputs
- Color
hextextRequired - The color, as a hex code: FF5733, #FF5733 or the three-digit shorthand F53 all work, as does the number OpenColors itself hands back for a color. Anything else is refused here with a message rather than by the service.
Outputs
best_backgroundtext- white or black, whichever the color contrasts with more.
csstext- The color checked with a leading #, ready for CSS, e.g. #FF5733.
hextext- The color checked as six upper-case hex digits with no #, e.g. FF5733.
on_blackobject- The color's contrast with a black background.
on_whiteobject- The color's contrast with a white background.
recommended_text_colortext- The text color OpenColors recommends on top of this color: dark or light.
rgbobject- The color checked as red, green and blue.
Example output
{
"best_background": "black",
"css": "#FF5733",
"hex": "FF5733",
"on_black": {
"large_text": {
"aa": true,
"aaa": true
},
"ratio": 6.66,
"small_text": {
"aa": true,
"aaa": false
},
"ui_components": {
"aa": true,
"aaa": true
}
},
"on_white": {
"large_text": {
"aa": true,
"aaa": false
},
"ratio": 3.15,
"small_text": {
"aa": false,
"aaa": false
},
"ui_components": {
"aa": true,
"aaa": true
}
},
"recommended_text_color": "dark",
"rgb": {
"b": 51,
"g": 87,
"r": 255
}
}Get a brand's colors
Get one brand's official palette by name. The service only searches, so the name is searched for and matched here: an exact name or slug always wins, and failing that a partial name resolves when it lands on a single brand, so 'spotify' and 'the Spotify brand' both work. A name matching two brands is reported with both rather than guessed between.
Inputs
- Brand
brandtextRequired - The brand to look up, by name or slug. A partial name works when only one brand matches it.
Outputs
brandobject- The brand found, and its palette.
matched_exactlytrue/false- True when the name or slug matched exactly; false when a partial name led to the one brand it fits.
requested_brandtext- The brand name the step was given.
Example output
{
"brand": {
"brand_url": "https://www.spotify.com/",
"color_count": 2,
"colors": [
{
"css": "#1DB954",
"hex": "1DB954"
},
{
"css": "#191414",
"hex": "191414"
}
],
"id": "2aeb099a-ef58-425d-9033-8399aaef0390",
"name": "Spotify",
"slug": "spotify",
"source_url": "https://developer.spotify.com/design/"
},
"matched_exactly": true,
"requested_brand": "Spotify"
}Get color statistics
Get the state of the OpenColors catalog: how many of the 16.7 million colors have been named, how many are still available, how many were named recently, and who has named the most colors.
Inputs
None.
Outputs
available_colorsnumber- How many colors are still unnamed.
last_updatedtext- When OpenColors worked these figures out, ISO 8601 in UTC.
named_colorsnumber- How many colors have a name.
recently_namednumber- How many colors OpenColors counts as named recently.
top_ownerslist- The people who have named the most colors, most first.
total_colorsnumber- How many colors there are in all: 16,777,216.
Example output
{
"available_colors": 16747161,
"last_updated": "2026-11-04T20:25:14.955Z",
"named_colors": 30055,
"recently_named": 1,
"top_owners": [
{
"count": 6,
"name": "Roy McLaughlin"
},
{
"count": 5,
"name": "A"
},
{
"count": 4,
"name": "Katya"
}
],
"total_colors": 16777216
}List recently named colors
List the colors people have named on OpenColors most recently, newest first, up to the latest 50. Each comes back with its hex, its name, who named it, when, and how many votes it has, so a scheduled workflow can pick up the names added since it last ran.
Inputs
- Number of colors
limitnumber - How many of the newest names to return, from 1 to 50. Defaults to 10.From 1 to 50.
Outputs
color_countnumber- How many colors came back.
colorslist- The most recently named colors, newest first.
requested_countnumber- How many colors were asked for.
Example output
{
"color_count": 3,
"colors": [
{
"claimed_at": "2026-11-02T18:09:37.571Z",
"css": "#1BB08E",
"hex": "1BB08E",
"hex_int": 1814670,
"name": "Rose Stem Green",
"owner": "Roy McLaughlin",
"votes": 0
},
{
"claimed_at": "2026-10-19T14:19:02.610Z",
"css": "#D54EDF",
"hex": "D54EDF",
"hex_int": 13979359,
"name": "Fancy Candy Pink",
"owner": "Gunner",
"votes": 0
},
{
"claimed_at": "2026-10-14T11:21:28.227Z",
"css": "#007FFE",
"hex": "007FFE",
"hex_int": 32766,
"name": "Bianca Blue",
"owner": "Bianca",
"votes": 2
}
],
"requested_count": 3
}Look up a color
Look up any hex code and get it in every color model: RGB, HSL, HSV and CMYK, with the text color that reads best on it. Says whether someone has named the color, and who, and for an unnamed color gives the nearest named one with its distance. Switch on the WCAG contrast check and the color blindness simulations to get everything in the one request.
Inputs
- Color
hextextRequired - The color, as a hex code: FF5733, #FF5733 or the three-digit shorthand F53 all work, as does the number OpenColors itself hands back for a color. Anything else is refused here with a message rather than by the service.
- Include WCAG contrast
include_accessibilitytrue/false - Also return the WCAG 2.1 contrast ratios against white and black, with the AA and AAA verdicts for small text, large text and UI components. Off by default.Default:
false. - Include color blindness simulations
include_colorblindtrue/false - Also return how the color looks with protanopia, deuteranopia, tritanopia and achromatopsia. Off by default.Default:
false.
Outputs
accessibilityobject- The color's WCAG 2.1 contrast against white and black. Null unless Include WCAG contrast is on.
claimed_attext- When it was named, ISO 8601 in UTC. Null when unnamed.
colorobject- The color itself, in every color model.
colorblindobject- How the color looks with each kind of color blindness. Null unless Include color blindness simulations is on.
dedicationtext- The dedication its owner wrote when naming it, if any.
is_namedtrue/false- Whether someone has named this color.
nametext- The color's name. Null when it is unnamed: see nearest.
nearestobject- The nearest color someone has named, for an unnamed color. Null when the color is named itself.
ownertext- Who named it. Null when it is unnamed or the name has no owner on record.
Example output
{
"accessibility": {
"best_background": "black",
"on_black": {
"large_text": {
"aa": true,
"aaa": true
},
"ratio": 6.66,
"small_text": {
"aa": true,
"aaa": false
},
"ui_components": {
"aa": true,
"aaa": true
}
},
"on_white": {
"large_text": {
"aa": true,
"aaa": false
},
"ratio": 3.15,
"small_text": {
"aa": false,
"aaa": false
},
"ui_components": {
"aa": true,
"aaa": true
}
}
},
"claimed_at": null,
"color": {
"cmyk": {
"c": 0,
"k": 0,
"m": 66,
"y": 80
},
"css": "#FF5733",
"hex": "FF5733",
"hex_int": 16734003,
"hsl": {
"h": 11,
"l": 60,
"s": 100
},
"hsv": {
"h": 11,
"s": 80,
"v": 100
},
"recommended_text_color": "dark",
"rgb": {
"b": 51,
"g": 87,
"r": 255
}
},
"colorblind": {
"achromatopsia": {
"css": "#858585",
"hex": "858585",
"label": "Complete color blindness",
"rgb": {
"b": 133,
"g": 133,
"r": 133
}
},
"deuteranopia": {
"css": "#C0CD3E",
"hex": "C0CD3E",
"label": "Green-blind",
"rgb": {
"b": 62,
"g": 205,
"r": 192
}
},
"protanopia": {
"css": "#B6B53C",
"hex": "B6B53C",
"label": "Red-blind",
"rgb": {
"b": 60,
"g": 181,
"r": 182
}
},
"tritanopia": {
"css": "#F74344",
"hex": "F74344",
"label": "Blue-blind",
"rgb": {
"b": 68,
"g": 67,
"r": 247
}
}
},
"dedication": null,
"is_named": false,
"name": null,
"nearest": {
"css": "#FF5630",
"distance": 1.29,
"hex": "FF5630",
"hex_int": 16733744,
"name": "Poppy Surprise",
"rgb": {
"b": 48,
"g": 86,
"r": 255
},
"similarity": "slight"
},
"owner": null
}Name a color
Get a name for any color: its own name if someone has named it, otherwise the nearest named color and how far off it is, as a distance and as a word from imperceptible to very different. One record either way, so a step that wants a word for a color never has to check which case it got.
Inputs
- Color
hextextRequired - The color, as a hex code: FF5733, #FF5733 or the three-digit shorthand F53 all work, as does the number OpenColors itself hands back for a color. Anything else is refused here with a message rather than by the service.
Outputs
csstext- The color asked about with a leading #, ready for CSS, e.g. #FF5733.
distancenumber- How far the named color is from the one asked about, as a Delta E (CIE76): 0 is identical, up to 1 imperceptible, up to 2 slight, up to 10 noticeable, and anything more very different.
hextext- The color asked about as six upper-case hex digits with no #, e.g. FF5733.
is_namedtrue/false- True when the name is the color's own; false when it is the nearest named color's.
nametext- The name: the color's own, or the nearest one's.
name_csstext- The same with a leading #, ready for CSS.
name_hextext- The hex of the color the name belongs to: the color itself when it is named, otherwise the nearest named one.
ownertext- Who named the color, when the name is its own and has an owner on record.
similaritytext- The distance in a word: identical, imperceptible, slight, noticeable or very different.
Example output
{
"css": "#FF5733",
"distance": 1.29,
"hex": "FF5733",
"is_named": false,
"name": "Poppy Surprise",
"name_css": "#FF5630",
"name_hex": "FF5630",
"owner": null,
"similarity": "slight"
}Search brand colors
Search the official color palettes of more than 600 companies by brand name, or leave the search empty and page through all of them. Each brand comes back with its colors in the order it publishes them, each as a hex code and a CSS-ready one, plus the brand's site and the design page the palette was taken from.
Inputs
- Search for
querytext - Part of the brand's name. Leave empty to list every brand a page at a time.
- Number of brands
limitnumber - How many brands to return, from 1 to 200. Defaults to 50, which is the service's own page size.From 1 to 200.
- Skip
offsetnumber - How many brands to skip before the first returned, for paging. The result says where the next page starts.At least 0.
Outputs
brand_countnumber- How many brands came back.
brandslist- The brands on this page, by name.
has_moretrue/false- Whether another page follows.
next_offsetnumber- The Skip value for the next page. Null on the last page.
offsetnumber- How many brands were skipped.
querytext- What was searched for, if anything.
requested_countnumber- How many brands were asked for.
totalnumber- How many brands match in all, across every page.
Example output
{
"brand_count": 1,
"brands": [
{
"brand_url": "https://www.spotify.com/",
"color_count": 2,
"colors": [
{
"css": "#1DB954",
"hex": "1DB954"
},
{
"css": "#191414",
"hex": "191414"
}
],
"id": "2aeb099a-ef58-425d-9033-8399aaef0390",
"name": "Spotify",
"slug": "spotify",
"source_url": "https://developer.spotify.com/design/"
}
],
"has_more": false,
"next_offset": null,
"offset": 0,
"query": "spotify",
"requested_count": 10,
"total": 1
}Search named colors
Search the colors people have named on OpenColors by a word in the name, and narrow to an owner by part of their name. Sort by name, owner, hex, when the color was named or how many votes it has, in either direction, and choose how many to return, up to 50. Each result carries the hex, the name, the owner, when it was named and its votes.
Inputs
- Search for
querytextRequired - The word or phrase to look for in color names, at least 2 characters. Matches any part of a name, in any case.
- Owner
ownertext - Only return colors named by someone whose name contains this, in any case. Leave empty for everyone's.
- Sort by
sorttext - What to order the results by. Defaults to name.One of:
name,owner,created_at(When it was named),hex(Hex code),votes. Default:name. - Order
ordertext - Ascending or descending. Defaults to ascending.One of:
asc(Ascending),desc(Descending). Default:asc. - Number of results
limitnumber - How many colors to return, from 1 to 50. Defaults to 10. OpenColors returns no more than this and has no next page, so narrow the search if it comes back full.From 1 to 50.
Outputs
color_countnumber- How many colors came back.
colorslist- The named colors that match, in order.
ordertext- asc or desc.
ownertext- The owner filter, if one was given.
querytext- What was searched for.
requested_countnumber- How many results were asked for.
sorttext- What the results are ordered by: name, owner, created_at, hex or votes.
totalnumber- The count OpenColors reports, which is of the colors it returned rather than of every match: when it equals the number asked for there may be more.
Example output
{
"color_count": 1,
"colors": [
{
"claimed_at": "2026-10-14T11:21:28.227Z",
"css": "#007FFE",
"hex": "007FFE",
"hex_int": 32766,
"name": "Bianca Blue",
"owner": "Bianca",
"votes": 2
}
],
"order": "asc",
"owner": "Bianca",
"query": "blue",
"requested_count": 10,
"sort": "name",
"total": 1
}Simulate color blindness
See how a color looks to people with each kind of color vision deficiency: protanopia (red-blind), deuteranopia (green-blind), tritanopia (blue-blind) and achromatopsia (complete color blindness). Each comes back as a hex code and RGB, ready to compare with the original or feed into another color action.
Inputs
- Color
hextextRequired - The color, as a hex code: FF5733, #FF5733 or the three-digit shorthand F53 all work, as does the number OpenColors itself hands back for a color. Anything else is refused here with a message rather than by the service.
Outputs
achromatopsiaobject- The color as someone with achromatopsia (complete color blindness) sees it.
csstext- The original color with a leading #, ready for CSS, e.g. #FF5733.
deuteranopiaobject- The color as someone with deuteranopia (green-blind) sees it.
hextext- The original color as six upper-case hex digits with no #, e.g. FF5733.
protanopiaobject- The color as someone with protanopia (red-blind) sees it.
rgbobject- The original color as red, green and blue.
tritanopiaobject- The color as someone with tritanopia (blue-blind) sees it.
Example output
{
"achromatopsia": {
"css": "#858585",
"hex": "858585",
"label": "Complete color blindness",
"rgb": {
"b": 133,
"g": 133,
"r": 133
}
},
"css": "#FF5733",
"deuteranopia": {
"css": "#C0CD3E",
"hex": "C0CD3E",
"label": "Green-blind",
"rgb": {
"b": 62,
"g": 205,
"r": 192
}
},
"hex": "FF5733",
"protanopia": {
"css": "#B6B53C",
"hex": "B6B53C",
"label": "Red-blind",
"rgb": {
"b": 60,
"g": 181,
"r": 182
}
},
"rgb": {
"b": 51,
"g": 87,
"r": 255
},
"tritanopia": {
"css": "#F74344",
"hex": "F74344",
"label": "Blue-blind",
"rgb": {
"b": 68,
"g": 67,
"r": 247
}
}
}