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

    Function lchToRGB

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

      This function first converts the LCh color to XYZ, then from XYZ to RGB. Gamut mapping is performed during the conversion to ensure the resulting color is within the valid RGB gamut.

      Parameters

      • color: LChColor

        The LCh color to convert

      • OptionalperformGamutMapping: boolean = true

        Whether to perform gamut mapping

      Returns RGBColor

      The color in RGB space