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

    Function p3ToHSL

    • Converts a P3 color to the HSL color space.

      This function first converts the P3 color to RGB, then from RGB to HSL. The HSL color space represents colors using hue, saturation, and lightness components.

      Parameters

      • color: P3Color

        The P3 color to convert

      Returns HSLColor

      The color in HSL space