JSPM

color-name-list

3.2.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 22552
  • Score
    100M100P100Q139872F
  • License MIT

long list of color names

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 🎨

GitHub release npm version npm Travis license color count Buy Me a Coffee at ko-fi.com

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 🗒

Installation JS 📦

npm install color-name-list --save

or

yarn add color-name-list

CDN 🌍: 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 build

Contributors 🦑

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.