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

    Function hwbToJzCzHz

    • Converts an HWB color to the JzCzHz color space.

      This function first converts the HWB color to RGB, then from RGB to JzCzHz. The JzCzHz color space is a cylindrical representation of JzAzBz, using lightness, chroma (saturation), and hue components, with improved perceptual uniformity for both low and high luminance levels, making it suitable for HDR content.

      Parameters

      • color: HWBColor

        The HWB color to convert

      • OptionalpeakLuminance: number = 10000

        The peak luminance of the display, in nits

      Returns JzCzHzColor

      The color in JzCzHz space