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 all programming languages for which a Ξ”E2000 implementation is available, documented, and carefully tested. 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
Python1 088
JavaScript927
Microsoft Excel844
Java839
C832
C++768
C#743
Scala706
MATLAB683
VBA673
Julia669
bc669
Wolfram Language648
Go642
Dart620
Ruby616
Rust614
Swift600
PHP587
TypeScript582
Lua566
SQL559
R545
Haskell527
Kotlin512
Fortran496
PowerShell484
Pascal465
VBScript460
Elixir452
Perl452
Prolog449
Ada440
TCL436
D427
F#415
Haxe401
Nim382
AWK357
Racket348
Zig344
Wren289

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