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

    Function jzazbzToOKLab

    • Converts a color from JzAzBz to OKLab color space.

      This function first converts the JzAzBz color to XYZ, then from XYZ to OKLab.

      Parameters

      • color: JzAzBzColor

        The JzAzBz color to convert

      • OptionalpeakLuminance: number = 10000

        The peak luminance of the display, in nits

      Returns OKLabColor

      The color in OKLab space