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

    Function xyzToLCh

    • Converts a color from CIE XYZ to CIE LCh color space.

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

      Parameters

      • color: XYZColor

        The XYZ color to convert

      Returns LChColor

      The color in LCh space