Package Exports
- color-name-list
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (color-name-list) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
14874 color-names 🎨
A handpicked list of 14874 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 emathy. Kenya Hara – White
About 📋
The aim of this project is to create as large a list as possible of color names. 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 name 🌈
color count: 14874 🎉
Sources 🗒
- User submissions.
- Wikipedia list of named colors
- CSS/HTML Color Names
- ntc.js
- pantone
- htmlcsscolor.com
- OSX Crayons
- Crayola Crayon names
- Thailand Weekday Colors
- Chinese Heavenly Creatures Colors
- Traditional Colors of Japan
- Multiple Paint Brand color lists
Installation JS 📦
npm install color-name-list --saveor
yarn add color-name-listCDN 🌍: JSON, CSV, YML
Experimental API 🃏
https://color-names.herokuapp.com/v1/{{hexvalue without the #}}ex: curl https://color-names.herokuapp.com/v1/060606
{
"query":"060606",
"name":"Black Metal",
"hex":"#060606",
"rgb":{"r":6,"g":6,"b":6},
"isExact":true
}Usage JS ⌨
import namedColors from 'color-name-list';
let someColor = namedColors.find(color => color.hex === '#ffffff')
console.log(someColor.name) // => white
Create a new build 🔨
npm install && npm run buildContributors 🦑
- yxklyx hundreds of names!!
- Syl
- Stephanie Stutz
Disclaimer ⚠️
In the process we try to remove all names that are offensive or racist, as well as protect brandnames. As some of the color names come from other lists, it might happen that some bad ones slip in. Please report them, they will be removed as quickly as possible.