- Notifications
You must be signed in to change notification settings - Fork186
Large list of handpicked color names 🌈
License
meodai/color-names
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A handpicked list of30282 unique color names fromvarious sources and thousands of curated user submissions.
The names of color function like a thread attached to a frightfully slenderneedle, 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/Java/Kotlin/C# |Name Sources |Latest Color Names |Sponsors
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 variouslists,modified the names when there were duplicates with different hex values, andshifted the colors a bit when there were identical colors with different names.
- Color Picker & Name Search Click the wheel to get name for a color, or justuse the full text search.
- Color Picker: Click the colored surface to change the color or type in ahex value below the name.
- Color Picker II: Move your mouse and scroll to choose a color.
- Name Search: full text search on the color list.
- Color Distribution 3D view of all color names in different color spaces.
- Twitter Bot: Posts random colors and lets you submit new ones.
Make sure to read thenaming rules before you contribute!
~0.18% of the RGB color space
When coming up with new color names, it is vital to know what spots in acertain color-space are crowded and where there is still room for new colors.For example: Our API returns the closestRGB
color to a givenHEX
value.To avoid too many colors snapping to the same name, we aim to distribute thecolors evenly in the color space:Visualization
Size Warning (1.15 MB): If you are doing this in the browser,consider using thepublic rest API
npm install color-name-list --save
oryarn add color-name-list
JSON/JSON.min/CSV/YML/JS/XML/HTML/SCSS
JSON/JSON.min/CSV/YML/JS/XML/HTML/SCSS/CSS
To make it easier to access the names, we offer a free and public Rest API thatallows you to access all the color names and names from other publicly availablename lists. You can find the full API code and documentationin this repository.
https://api.color.pizza/v1/?values=00f,f00,f00&list=bestOf
The API is free to use and has no limitations. But if your app/site is commercialand 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 andhas no dependenciesColor-Name-API
Size Warning (1.15 MB): If you are doing this in the browser,consider using thepublic rest API
import{colornames}from'color-name-list';letsomeColor=colornames.find(color=>color.hex==='#ffffff');console.log(someColor.name);// => whiteletsomeNamedColor=colornames.find(color=>color.name==='Eigengrau')console.log(someColor.hex);// => #16161d
Since there are 16777216 possible RGB colors, you might use a library such asnearest-color orClosestVector to help you find the the closest named color.
importnearestColorfrom'nearest-color';import{colornames}from'color-name-list';// nearestColor need objects {name => hex} as inputconstcolors=colornames.reduce((o,{ name, hex})=>Object.assign(o,{[name]:hex}),{});constnearest=nearestColor.from(colors);// get closest named colornearest('#f1c1d1');// => Fairy Tale
Note: If you are looking for something visually more accurate, you coulduseDeltaE or use the above snippet, but usingciecam02 instead of RGB.
npm install&& npm run build
Seepackage.json for more.
Java/Kotlin usage is maintained through this library:UwUAroze/Color-Names.Additional info can be found there, but basic usage is outlined below:
repositories { maven("https://jitpack.io")}dependencies { implementation("me.aroze:color-names:1.0.2")}
<repository> <id>jitpack.io</id> <url>https://jitpack.io</url></repository><dependency> <groupId>me.aroze</groupId> <artifactId>color-names</artifactId> <version>1.0.2</version></dependency>
publicColorNamescolorNames =newColorNameBuilder() .loadDefaults() .build();StringfromHex =colorNames.getName("#facfea");// "Classic Rose"StringfromRGB =colorNames.getName(224,224,255);// "Stoic White"StringfromColor =colorNames.getName(newColor(255,219,240));// "Silky Pink"
val colorNames=ColorNameBuilder() .loadDefaults() .build()val fromHex= colorNames.getName("#facfea")// "Classic Rose"val fromRGB= colorNames.getName(224,224,255)// "Stoic White"val fromColor= colorNames.getName(Color(255,219,240))// "Silky Pink"
C# usage is maintained through this library:vycdev/ColorNamesSharpAdditional info can be found there, but basic usage is outlined below:
The library is available as anuget package
ColorNamescolorNames=newColorNamesBuilder().Add("Best Blue","#3299fe")// Add your own custom colors.LoadDefault()// Load the default color list.AddFromCsv("path/to/your/colorlist.csv")// Add a custom color list from a csv file.Build();// Get a new ColorNames instance that includes all the colors you've added
NamedColorcustomNamedColor=new("Custom Named Color",50,153,254);// You can directly get the name of the color as a stringstringcolorNameFromHex=colorNames.FindClosestColorName("#facfea");// Classic RosestringcolorNameFromRgb=colorNames.FindClosestColorName(224,224,255);// Stoic WhitestringcolorNameFromNamedColor=colorNames.FindClosestColorName(customNamedColor);// Best Blue// Or similarly you can get the NamedColor objectNamedColornamedColorFromHex=colorNames.FindClosestColorName("#facfea");// Classic RoseNamedColornamedColorFromRgb=colorNames.FindClosestColorName(224,224,255);// Stoic WhiteNamedColornamedColorFromNamedColor=colorNames.FindClosestColorName(customNamedColor);// Best Blue// Or a random colorNamedColorrandomColor=colorNames.GetRandomNamedColor();
- Thousands of user submissionsTwitter/Google Docs/Github
- Wikipedia list of named colors (2018-02-23)
- Wada Sanzo's list of named colors
- CSS/HTML color names
- Werner’s Nomenclature of Colours
- ntc.js
- xkcd color survey list
- htmlcsscolor.com
- OSX Crayons
- Crayola crayon
- Japanese Twelve Level Cap and Rank System colors
- Thailand weekday colors
- Chinese heavenly creatures colors
- Military Paint
- Olympian god colors
- Model Color Paints:Vallejo
- Fictional Colors (2018-05-09)
- Non English Transliterations:Japanese,Mandarin,Hindi,Persian,Russian,Māori
- Multiple paint, print, nail polish, model paint color lists
- Curated Machine Learning names fromMatt DesLauriersandNathan Kjer
- Team Fortress 2 paint colors
- meodai Initiator, maintainer, name creator &, tooling
- Nirazul Name creator & tooling
- Bathos Tooling
- Metafizzy Logo 💖
- Colorful Dots 500USD
- krissymashinsky.com 300USD
- color.museum 100CHF
- @tunnckoCore 50USD
- Myriam Aerne 20CHF
- Amin 15USD
- neverything 25USD/month
Item | Expenditure |
---|---|
Logo by Metafizzy | 800 |
Item | Expenditure |
---|---|
Color Name API Server | 264.60/year |
color.pizza domain name | 36.16/year |
Cloudflare PRO Plan | 240/year |
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, Sean Gibbons, Brantley Sibo
In an effort to create a more inclusive and respectful environment, we strive toremove 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 stillslip through. If you come across any such names, pleaselet us knowso that we can remove them promptly.
About
Large list of handpicked color names 🌈