A handpicked list of 17530 unique color names from various sources and thousands of user submissions. Try it yourself or read the full list.
The names of color function like a thread attached to a frightfully slender needle, capable of stitching together our most delicate emotions and memories. When the needle hits the target, we feel either pleasure or empathy. Kenya Hara โ White
The aim of this project is to create as large a list of color names as possible. We've merged various lists, modified the names when there were duplicates with different hex values, and shifted the colors a bit when there were identical colors with different names.
Submit a color via form ๐ / or twitter ๐ฆ
Make sure to read the naming rules before you contribute!
(~0.10% of all RGB Colors)
Color distribution ๐ฐ
When coming up with new color names, it is vital to know what spots in a certain color-space are crowded and where there is still room for new colors. For example: Our API returns the closest RGB
color to a given HEX
value. To avoid too many colors snapping to the same name, we aim to distribute the colors evenly in the color space: Visualization
PS: You can choose between different color spaces on the bottom right.
npm install color-name-list --save
or yarn add color-name-list
https://api.color.pizza/v1/{{hexvalue without the #}},{{more comma separated values}}
curl
https://api.color.pizza/v1/212121
{
"colors": [{
"name": "Lead",
"hex": "#212121",
"rgb": {"r":33, "g":33, "b":33},
"distance": 0, // its an exact match
"luminance": 22.062320231562225,
"requestedHex": "#212121",
}]
}
curl
https://api.color.pizza/v1/212121,060606,ff0012,550055,123456
curl
https://api.color.pizza/v1/
In this case colors is not an object
but an array
of objects
sorted by color-name
import namedColors from 'color-name-list';
let someColor = namedColors.find(color => color.hex === '#ffffff');
console.log(someColor.name); // => white
let someNamedColor = namedColors.find(color => color.name === 'Eigengrau')
console.log(someColor.hex); // => #16161d
Since there are 16777216 possible RGB colors, you might use a library such as nearest-color to help you find the the closest named color.
import nearestColor from 'nearest-color';
import namedColors from 'color-name-list';
// nearestColor need objects {name => hex} as input
const colors = colorNameList.reduce((o, { name, hex }) => Object.assign(o, { [name]: hex }), {});
const nearest = nearestColor.from(colors);
// get closest named color
nearest('#f1c1d1'); // => Fairy Tale
Alternative package: ktree
Note: If you are looking for something visually more accurate, you could: use DeltaE, or use the above snippet, combined with a transform from rgb to ciecam02 scaled to 0-255.
npm install && npm run build
See package.json for more.
- Thousands of user submissions Twitter/Google Docs/Github
- Wikipedia list of named colors (2018-02-23)
- CSS/HTML color names
- ntc.js
- xkcd color survey list
- htmlcsscolor.com
- OSX Crayons
- Crayola crayon
- Thailand weekday colors
- Chinese heavenly creatures colors
- Military Paint
- Olympian god colors
- Model Color Paints: Vallejo
- Fictional Colors (2018-05-09)
- Non English Transliterations: Japanese, Mandarin, Hindi, Persian, Russian
- Multiple paint, print, nail polish, model paint color lists
- meodai Initiator, Maintainer, Name Creator & Tooling
- Verena Hundreds of names!!
- Syl Name creator
- Stephanie Stutz Name creator
- Simbiasamba Name creator
- Jason Wilson Manual Merging of some lists
- Inรชs Joรฃo Mostly Portuguese names
- Nirazul Name Creator & Tooling
- Nick Niles Name Creator
- Qwhex Name Creator
- Ichatdelune Name Creator
- Metafizzy Logo Sponsor ๐
In the process we try to remove all names that are offensive or racist, as well as protected brand names. As some of the color names come from other lists, some bad ones might slip in. Please report them, they will be removed as quickly as possible.