color-names π¨
A handpicked list of 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
Process π
My goal is to create a as big as possible color name list. I merged different lists, modified the names when they where the same but had different hex values, and I shifted the colors a bit when the same color had different names but the same value.
Sources π
Installation JS π¦
yarn
yarn add color-name-list
NPM
npm install color-name-list --save
Usage JS β¨
import namedColors from 'color-name-list';
let someColor = namedColors.find(color => color.hex === '#ffffff')
console.log(someColor.name)
Create a new build π¨
npm install && npm run build
Contributors