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

    Function oklchToJzAzBz

    • Converts an OKLCh color to the JzAzBz color space.

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

      Parameters

      • color: OKLChColor

        The OKLCh color to convert

      • OptionalpeakLuminance: number = 10000

        The peak luminance of the display, in nits

      Returns JzAzBzColor

      The color in JzAzBz space