Better HN
topnewbestaskshowjobs
Log inSign up

w0ntfix

2 karma · joined Nov 27, 2020 (6y ago) · 2 submissions

Submissions

comment 6y ago · link · parent

YES! Ambient lighting and the viewing environment are hard things to take into account.

Thanks for the links, interesting discussion to follow up on

comment 6y ago · link · parent

It might be worth noting that your Grayscale equation is the Y value in the YIQ colorspace https://en.wikipedia.org/wiki/YIQ#From_RGB_to_YIQ -- a technique similar to using the lightness value in EG HSL for picking a foreground or background color (similar to what the article does here: http://notes.neeasade.net/color-spaces.html#h-cb3c6479-7d62-...).

(I'm the author of the article)