color-names π¨
nom d'une couleur!
A semi manual merge of different color name lists. Try it yourself or see the full list.
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