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.
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.