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

    Function hsvToJzCzHz

    • Converts an HSV color to the JzCzHz color space.

      This function first converts the HSV 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: HSVColor

        The HSV color to convert

      • OptionalpeakLuminance: number = 10000

        The peak luminance of the display, in nits

      Returns JzCzHzColor

      The color in JzCzHz space