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

    Type Alias DeltaEAlgorithm

    DeltaEAlgorithm: "Euclidean" | "CMC" | "2000" | "OKLab" | "ScaledOKLab" | "Jz"

    Represents the available algorithms for calculating color difference (Delta E) between two colors.

    The Delta E calculation measures the perceived distance between colors, and different algorithms are optimized for various use cases to achieve better perceptual uniformity in different contexts. The algorithms provided are:

    • 'Euclidean': Uses simple Euclidean distance in the color space, typically less accurate in perceptual uniformity.
    • 'CMC': Refers to the CMC l:c metric by the Color Measurement Committee, designed for textiles.
    • '2000': Represents the CIEDE2000 algorithm, an advanced standard for Delta E computation.
    • 'OKLab': Based on the OKLab color space, more perceptually uniform than earlier spaces.
    • 'ScaledOKLab': A scaled variation of OKLab for specific use cases with adjusted perceptual scaling.
    • 'Jz': Refers to color difference calculation based on the JzCzhz color space.

    This type is used to specify which algorithm to apply during Delta E computations.