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

    Function hslToJzAzBz

    • Converts an HSL color to the JzAzBz color space.

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

      Parameters

      • color: HSLColor

        The HSL color to convert

      • OptionalpeakLuminance: number = 10000

        The peak luminance of the display, in nits

      Returns JzAzBzColor

      The color in JzAzBz space