7 ms·
A ruby gem that takes an RGB triplet and gives you a color name. Been using the XKCD Color Survey dataset (http://blog.xkcd.com/2010/05/03/color-survey-results/
by hmcfletch 12y ago
A ruby gem that takes an RGB triplet and gives you a color name. Been using the XKCD Color Survey dataset (http://blog.xkcd.com/2010/05/03/color-survey-results/ http://blog.xkcd.com/2010/05/03/color-survey-results/) to find mappings for the color space to names. It has been a pretty interesting little project. Color is a pretty interesting topic.
- TheLoneWolfling 12y agoHmm... Just nearest color in the CILAB colorspace? Or what? Color is fascinating, I agree. Or rather the human perception thereof. Same with sound.
- hmcfletch 12y agoI have been experimenting with a bunch of different ways of do things, but Lab nearest neighbor is one of the ones that has been working well. I think that the gem will have a bunch of different options so you can choose and play with different methods of doing it.