News for hackers. Stuff that matters.
Re:From RGB to L*a*b* color space (2024) by aparadja on Sunday March 08, 2026 @05:16AM (#47295798)
If you ever need to generate a gradient between colors in any of your code, interpolating colors in the Lab color space is an awesome option. A simple linear interpolation of the components gives impressively beautiful results.

(Although, like several other commenters, I do recommend OKLab.)

There are no comments on this comment yet.