News for hackers. Stuff that matters.
Re:Dark mode in a website with CSS by andy_ppp on Wednesday October 09, 2019 @02:39AM (#21200671)
The problem is our brains represent colour in a very weird way and the algorithms I’ve seen for this always look horrible. I guess maybe training a neural net on this might make the results more human!
Re:Dark mode in a website with CSS by tripzilch on Friday October 11, 2019 @08:18AM (#21223582)
No, what really helps is picking the right colour space to work in. Which is probably CIE-LAB, being constructed especially for the weird way our brains perceive colour, but still also works mostly correct if you treat it as a linear space.