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.
| Programming language | Number of visits |
|---|---|
| Python | 1 088 |
| JavaScript | 927 |
| Microsoft Excel | 844 |
| Java | 839 |
| C | 832 |
| C++ | 768 |
| C# | 743 |
| Scala | 706 |
| MATLAB | 683 |
| VBA | 673 |
| Julia | 669 |
| bc | 669 |
| Wolfram Language | 648 |
| Go | 642 |
| Dart | 620 |
| Ruby | 616 |
| Rust | 614 |
| Swift | 600 |
| PHP | 587 |
| TypeScript | 582 |
| Lua | 566 |
| SQL | 559 |
| R | 545 |
| Haskell | 527 |
| Kotlin | 512 |
| Fortran | 496 |
| PowerShell | 484 |
| Pascal | 465 |
| VBScript | 460 |
| Elixir | 452 |
| Perl | 452 |
| Prolog | 449 |
| Ada | 440 |
| TCL | 436 |
| D | 427 |
| F# | 415 |
| Haxe | 401 |
| Nim | 382 |
| AWK | 357 |
| Racket | 348 |
| Zig | 344 |
| Wren | 289 |
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.