@dragonspark/chroma-kit
    Preparing search index...

    Function p3ToLCh

    • Converts a P3 color to the CIE LCh color space.

      This function first converts the P3 color to XYZ, then from XYZ to LCh. The LCh color space is a cylindrical representation of Lab, using lightness, chroma (saturation), and hue components.

      Parameters

      • color: P3Color

        The P3 color to convert

      Returns LChColor

      The color in LCh space