ChevyRay / color_space

A Rust library for converting between color spaces and comparing colors.
MIT License
20 stars 6 forks source link

Oklab color space support #9

Open DasEtwas opened 3 years ago

DasEtwas commented 3 years ago

Oklab is a new color space for intuitive perceptual color image processing. Although new, it seems like it is becoming more popular by the minute and is already supported in four open source libraries.

Shadertoy already has two demos showcasing clipping and mixing (https://www.shadertoy.com/results?query=oklab), while the mixing one uses optimizations we could apply in color_space. Note that the author of Oklab recommends deriving the matrices on your own if one would need more precision.

ChevyRay commented 3 years ago

ohh that would be nice