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

    Function jzczhzToOKLab

    • Converts a color from JzCzHz to OKLab color space.

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

      Parameters

      • color: JzCzHzColor

        The JzCzHz color to convert

      • OptionalpeakLuminance: number = 10000

        The peak luminance of the display, in nits

      Returns OKLabColor

      The color in OKLab space