News for hackers. Stuff that matters.
Re:CSS Gradients that avoid the “gray dead zone” by smagoun on Tuesday January 11, 2022 @05:56PM (#29899578)
This fantastic article proposes new colorspaces (okhsl, oklab) for color pickers and is worth the read for anyone interested in color: https://bottosson.github.io/posts/colorpicker/

Many similar problems to solve as in the gradient generator, but approached from a different point of view, and with some novel ideas.

Re:CSS Gradients that avoid the “gray dead zone” by orbital-decay on Tuesday January 11, 2022 @09:03PM (#29901377)
They aren't exactly novel, it's mostly an attempt to connect the modern color science with actual software development. Image processing in software (even that has the dominating market share like Photoshop) is still largely built around computing convenience, not around human perception or the mapping of physical world to it. Which is sad to see as the models are known for a long time but still mostly hidden in academic obscurity. I hope people like Björn Ottosson will help to change that.