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 250
Python1 328
Microsoft Excel1 082
Scala1 056
Java1 007
C983
C++921
C#880
MATLAB845
bc807
Julia800
VBA789
Dart784
Wolfram Language771
Go766
Ruby759
Rust758
PHP728
Swift723
Lua711
TypeScript695
R682
SQL677
Kotlin656
VBScript649
Haskell635
Fortran614
PowerShell602
Pascal583
Prolog576
Elixir573
Ada570
Perl567
D562
TCL553
F#532
Haxe513
Nim501
AWK497
Racket457
Zig454
Wren397

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 68.0% 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