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

    Function oklabToJzAzBz

    • Converts an OKLab color to the JzAzBz color space.

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

      Parameters

      • color: OKLabColor

        The OKLab color to convert

      • OptionalpeakLuminance: number = 10000

        The peak luminance of the display, in nits

      Returns JzAzBzColor

      The color in JzAzBz space