CIEDE2000 – All programming languages

The CIEDE2000 formula, internationally standardized since 2012, improves upon earlier formulas, such as CIE94, and more accurately reflects human visual perception of color differences. The table below lists the 42 programming languages for which a carefully tested and documented implementation of the Ξ”E2000 function is available. Converters to compare colors in RGB or hex are provided with the sources, as CIEDE2000 uses the CIELAB color space.

List of programming languages in which CIEDE2000 can be deployed
Programming languageNumber of visits
JavaScript2 944
Python1 672
Microsoft Excel1 286
Scala1 277
C1 146
Java1 115
C#1 035
C++1 026
MATLAB961
Julia908
Swift889
bc888
VBA865
Dart853
Wolfram Language845
Ruby837
Go835
Rust824
PHP803
Lua781
TypeScript761
VBScript754
R749
SQL730
Kotlin713
Haskell701
Fortran684
Prolog681
PowerShell657
D655
Pascal649
Ada646
Elixir628
Perl627
TCL617
Haxe590
F#589
Nim559
AWK543
Racket519
Zig509
Wren448

Good to know

Recognized for its accuracy, CIEDE2000 is used in medicine and video game design, as well as for quality control in the printing and textile industries. The algorithm reflects the differences between colors as perceived by the human eye, making it possible to measure a difference, assess a gap, and evaluate a distance between two colors.

The Ξ”E2000 algorithm, known to exhibit discontinuities, is designed to reflect the difficulty of distinguishing between two colors, rather than behaving like a locally smooth Euclidean metric. Our implementation is unique on the market in that it works without degree/radian conversion. It’s designed to be accurate and portable, so you can get consistent results in any programming language and on any platform.

Our implementation of the CIEDE2000 formula has been tested against dozens of independent external implementations, some of which are standard libraries in their respective programming languages. Each source proved its stability against millions of color pairs, always with at least ten exact decimals. These tests have been passed every week for several months, and are available on our website to reassure those using our CIEDE2000 source code in production.

English support

The English-speaking public accounts for 72.4% of visitors to this site, which has 9 languages of publication.

About

This site developed by Michel LEONARD provides well-tested reference implementations of the CIEDE2000 color difference formula for developers and color science professionals.

Feel free to take a look at our list of external links.

Official logo of the CIEDE2000 colorimetry project, hosted by free.fr