Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How To Avoid Equidistant HSV Colors (vis4.net)
12 points by dhotson on May 23, 2012 | hide | past | favorite | 1 comment


There is an alternative color space called YIQ that deals with perceived luminescence. I wrote a small function that can tell you given an arbitrary background color, whether white or black text would be most readable. You can checkt it out here: http://blog.nitriq.com/BlackVsWhiteText.aspx

http://en.wikipedia.org/wiki/YIQ




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

Search: