Converts a P3 color to the OKLab color space.
This function first converts the P3 color to XYZ, then from XYZ to OKLab. OKLab is a perceptually uniform color space designed to better represent how humans perceive color differences.
The P3 color to convert
The color in OKLab space
Converts a P3 color to the OKLab color space.
This function first converts the P3 color to XYZ, then from XYZ to OKLab. OKLab is a perceptually uniform color space designed to better represent how humans perceive color differences.