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

    Function labToHSV

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

      This function uses the automatic conversion system to find the optimal path from Lab to HSV, which typically goes through XYZ and RGB. 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 HSVColor

      The color in HSV space