Calculates the CIEDE2000 color difference (Delta E) between two colors.
This function implements the CIEDE2000 color difference formula, which is the most
advanced and perceptually accurate Delta E calculation method standardized by the CIE.
It provides significant improvements over earlier formulas, especially for blue colors
and neutral colors.
The calculation involves multiple steps:
Calculate chroma values and apply corrections
Calculate hue angles with appropriate handling of edge cases
Calculate lightness, chroma, and hue differences
Calculate weighting functions for each component
Apply the final formula with rotation term for improved accuracy in blue regions
Calculates the CIEDE2000 color difference (Delta E) between two colors.
This function implements the CIEDE2000 color difference formula, which is the most advanced and perceptually accurate Delta E calculation method standardized by the CIE. It provides significant improvements over earlier formulas, especially for blue colors and neutral colors.
The calculation involves multiple steps: