Converts a P3 color to the OKLCh color space.
This function first converts the P3 color to XYZ, then from XYZ to OKLCh. OKLCh is a cylindrical representation of OKLab, using lightness, chroma (saturation), and hue components, with improved perceptual uniformity over traditional LCh.
The P3 color to convert
The color in OKLCh space
Converts a P3 color to the OKLCh color space.
This function first converts the P3 color to XYZ, then from XYZ to OKLCh. OKLCh is a cylindrical representation of OKLab, using lightness, chroma (saturation), and hue components, with improved perceptual uniformity over traditional LCh.