Re:Get a color name from any RGB combination
by Gauth on Tuesday September 27, 2011 @02:41PM
(#3044638)
As explained in the article, you need to choose the dataset that fits your needs. And you're right, a smaller dataset with more common names will be more useful in some cases.
[ Parent
| on HN ]
Re:Get a color name from any RGB combination
by daltonlp on Tuesday September 27, 2011 @04:01PM
(#3044964)
You may want to try using the colr.org API:
The entire colr.org dataset isn't available, but you can make ajax requests for individual hex values, typically in less than 100ms.
The dataset should also include the standard CSS and HTML color names. This was part of the initial buildout several years ago.