Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/) to find mappings for the color space to names. It has been a pretty interesting little project. Color is a pretty interesting topic.


Hmm... Just nearest color in the CILAB colorspace? Or what?

Color is fascinating, I agree. Or rather the human perception thereof. Same with sound.


I 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: