• Stars
    star
    2,282
  • Rank 19,433 (Top 0.4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 7 years ago
  • Updated 30 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Large list of handpicked color names ๐ŸŒˆ

Color Names

Actions Status GitHub release npm version npm name count github sponsor count

A handpicked list of 30138 unique color names from various sources and thousands of curated user submissions.

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

Explore / Find Names | Name distribution in different models | Usage | CDN | Public Rest API | Usage JS | Name Sources | Latest Color Names | Sponsors

About ๐Ÿ“‹

The aim of this project is to create a list of color names as large as possible, while keeping a good name quality. 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.

Explore ๐ŸŒ

Color Name Submission ๐Ÿ’Œ

via form ๐ŸŒˆ / or twitter ๐Ÿฆ

Make sure to read the naming rules before you contribute!

Color Count: 30138 ๐ŸŽ‰

~0.18% of the RGB color space

Color distribution ๐Ÿ›ฐ

3d representation of color distribution in RGB Space (Preview image of link above)

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

Usage ๐Ÿ“–

Node.js Installation ๐Ÿ“ฆ

Size Warning (1.15 MB): If you are doing this in the browser, consider using the public rest API

npm install color-name-list --save

or yarn add color-name-list

CDN ๐ŸŒ

All Names ๐Ÿ“š

JSON / JSON.min / CSV / YML / JS / XML / HTML / SCSS

Best of Names subset ๐Ÿ†

JSON / JSON.min / CSV / YML / JS / XML / HTML / SCSS / CSS

API ๐Ÿƒ

To make it easier to access the names, we offer a free and public Rest API that allows you to access all the color names and names from other publicly available name lists. You can find the full API code and documentation in this repository.

API Exaple Call Usage

https://api.color.pizza/v1/?values=00f,f00,f00&list=bestOf

API Disclaimer

The API is free to use and has no limitations. But if your app/site is commercial and causes excessive traffic, I might contact you to become a sponsor.

Feel free to deploy it yourself, it is very easy to host/deploy on heroku and has no dependencies Color-Name-API

Usage JS โŒจ

Size Warning (1.15 MB): If you are doing this in the browser, consider using the public rest API

Exact Color

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

Closest Named Color

Since there are 16777216 possible RGB colors, you might use a library such as nearest-color or ClosestVector to help you find the the closest named color.

import nearestColor from 'nearest-color';
import colorNameList 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

Note: If you are looking for something visually more accurate, you could use DeltaE or use the above snippet, but using ciecam02 instead of RGB.

Building ๐Ÿ”จ

npm install && npm run build

See package.json for more.

Sources ๐Ÿ—’

Sources: Names ๐Ÿ“‡

Contributors ๐Ÿฆ‘

Costs & Sponsors

Sponsors

Gold

Silver

Bronze

Project Costs USD

One-Time

Item Expenditure
Logo by Metafizzy 800

Periodic

Item Expenditure
Color Name API Server 264.60/year
color.pizza domain name 36.16/year
Cloudflare PRO Plan 240/year

Color Namers

Verena the naming overlord , Jess the name wizard , Syl , Stephanie Stutz , Simbiasamba , Jason Wilson , Inรชs Joรฃo , Nick Niles , Qwhex , Ichatdelune , basgys , Shelina S. , Trevor Elia , cheesits456 , Sandhya Subram , BerylBucket , Jimmy Fitzback , TLZ , DarthTorus , Carrion , BlueChaos , nachtfunke

Disclaimer ๐Ÿ‘ฎ๐Ÿพโ€

In an effort to create a more inclusive and respectful environment, we strive to remove all offensive and racist names, as well as protected brand names, from our list. While we do our best to screen out such names, some may still slip through. If you come across any such names, please let us know so that we can remove them promptly.

Latest Color Names ๐Ÿ”–

New colors

More Repositories

1

poline

Esoteric Palette Generator Mico-Lib Interpolating HSL Color in cartesian space
TypeScript
644
star
2

fettepalette

Color ramp generator using curves within the HSV color model
TypeScript
147
star
3

farbvelo

"Random" color palette generator, cycles
JavaScript
67
star
4

rampensau

Color palette generation function using hue cycling and simple easing functions.
TypeScript
53
star
5

gotAnewDesignerMac

automate installation of a MAC for a designer
Ruby
47
star
6

color-name-api

Rest API that returns a bunch of color names for a given color-value
JavaScript
45
star
7

sensible

Maintain media-queries where they belong; in the SASS/SCSS and make them available with the same name space in your JS without polluting your HTML.
SCSS
25
star
8

mod_autoindex.oh

Visual enhancement for apache's directory listing.
HTML
23
star
9

ClosestVector

Find the closest Number / Vector / VectorN โˆ†
JavaScript
23
star
10

palette-aldente

Color palette curation and sharing tool
JavaScript
18
star
11

ticktack.js

requestanimationframe based watch.
JavaScript
17
star
12

bonescss

SCSS/CSS starting-point for every project. Mixes smacss namespaced h5bp things with other stuff I use all the time. It includes all the nice things from H5BP nicely namespaced using SMACSS
CSS
15
star
13

paletter

semantic color name/palette helper
JavaScript
14
star
14

dialog-size

A relative size palette
CSS
14
star
15

dotfiles

I stole my dotfiles all over the place, thank you internet โค๏ธ ๐ŸŒŽ
Shell
10
star
16

elastiq

Elastiq website
HTML
9
star
17

colorparrot-twitter-bot

A bot that tweets random colors and lets you invent new ones
JavaScript
7
star
18

myMindColors

color palettes from https://access.mymind.com/colors
JavaScript
6
star
19

color-name-lists

A collection of color name lists
JavaScript
6
star
20

dialog-typography

Provides a central place to manage typography across multiple breakpoints.
SCSS
6
star
21

cga

Color Palette Generation Assistant
JavaScript
5
star
22

copic-colors

Up to date list of copic colors
JavaScript
5
star
23

sanzoWadaColors

Color palettes from Sanzo Wada's Color Book
JavaScript
4
star
24

sassvg-arrows

generates SVG-Arrows with sass. Large ones, Small ones, red ones.
CSS
4
star
25

dialog-settings

A simple key value store for module settings, to make modules more portable. With the nice side-effect that all settings can be output as native CSS variables.
CSS
4
star
26

webrings

a modern take on webrings
3
star
27

raumgleiter

Raumgleiter Website
Vue
3
star
28

lifx-js

very simple node.js server with sockets to play around with lifx bulbs
JavaScript
2
star
29

waypoint-animation

know if your DOM things are visible or not
JavaScript
2
star
30

color-fanfare

A collection of palettes that I like to reuse
2
star
31

noms-de-couleur

Recueil de noms de couleur en franรงais.
HTML
2
star
32

scroll-width

Tiny optional AMD that returns the browsers scrollbar width
JavaScript
2
star
33

farbnamen

HTML
2
star
34

exalt.biz

http://exalt.biz website
SCSS
1
star
35

cockadoo

A twitter color experiment
1
star
36

color-fan

a pretty color fan
JavaScript
1
star
37

color-roulette

color palette generator function based mainly on chroma.js
1
star
38

wikipedia-color-names

Up to date list of wikipedia color names
HTML
1
star
39

nombres-de-colores

Una lista de nombres de colores en espaรฑol.
HTML
1
star
40

z43

z43 collective website
HTML
1
star
41

battery-saver

Switches to power-saving Screensaver when not connected to power
Shell
1
star