The largest list of color names referenceable by hex.
require('color-names')['#d2f6de']; // Blue Romance
Many, many names of colors
License: Other
It seems to me that this package should be named something like color-name-codes
instead.
To use this package, as you would any other, you can do something like:
var colorNames = require('color-names');
colorNames['Abbey']; // #4c4f56
It looks like you already have to know the name of the color to use the package, and in return you get its hex code back.
What the name of the package tells me is that I'll be able to get a color name from an input (hex code or something else) but that's not the case.
Maybe I'm looking at this all wrong and only from one angle. I wanted to ask anyway.
Thank you!
I stumbled upon this when wanting to npm publish color-names ;)
I maintain this: https://github.com/meodai/color-names/
Looks like we follow the same goal. Are you willing to discuss a merge of both repositories?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.