Converts a color from CIE XYZ to OKLab color space.
This function implements the XYZ to OKLab conversion algorithm, which includes:
The OKLab color space is designed to be perceptually uniform with improved accuracy compared to the traditional Lab space.
The XYZ color to convert
The color in OKLab space
Converts a color from CIE XYZ to OKLab color space.
This function implements the XYZ to OKLab conversion algorithm, which includes:
The OKLab color space is designed to be perceptually uniform with improved accuracy compared to the traditional Lab space.