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

    Function hslToLab

    • Converts an HSL color to the CIE Lab color space.

      This function first converts the HSL color to RGB, then from RGB to Lab. The Lab color space is designed to be perceptually uniform and device-independent.

      Parameters

      • color: HSLColor

        The HSL color to convert

      Returns LabColor

      The color in Lab space