4 ms·
The article mentions they use Bezier curves over the HSB colorspace. > I used Lyft’s amazing Colorbox to help normalize our colors. Instead of a naive linear s
by ucarion 7y ago
The article mentions they use Bezier curves over the HSB colorspace.
> I used Lyft’s amazing Colorbox to help normalize our colors. Instead of a naive linear scale at 10% increments, I used bezier curves—a vast improvement at the more extreme ends of the scale.
Linear HSB is very naive, but HSB is still quite naive. It's just a cylindrical version of a color space optimized for displays, not human perception.
I don't understand why they wouldn't instead opt for the CIELAB color space, or its cylindrical equivalent. IBM does this, and it gives them effortless support for dark mode, by just flipping the luminance component of colors:
https://www.ibm.com/design/language/color https://www.ibm.com/design/language/color
You can visualize the CIELAB behind IBM's color scheme here:
https://cielab.io/ https://cielab.io/ (go to "IBM Carbon")