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

    Function labToRGB

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

      This function uses the automatic conversion system to find the optimal path from Lab to RGB, which typically goes through XYZ. Gamut mapping is performed during the conversion to ensure the resulting color is within the valid RGB gamut.

      Parameters

      • color: LabColor

        The Lab color to convert

      • OptionalperformGamutMapping: boolean = true

        Whether to perform gamut mapping

      Returns RGBColor

      The color in RGB space