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

    Function deltaEJZ

    • Calculates the color difference (Delta E) between two colors in the JzCzHz color space.

      This function computes the Euclidean distance in the cylindrical JzCzHz color space, which is designed for high dynamic range (HDR) content and provides improved perceptual uniformity across a wide range of luminance levels.

      The function handles undefined hue values by using appropriate fallbacks.

      Parameters

      • color: JzCzHzColor

        The first color in JzCzHz space

      • sample: JzCzHzColor

        The second color in JzCzHz space to compare against

      Returns number

      The color difference value (Delta E)