Color delta/comparison math
These are the formulas to calculate color differences. All of them refers to the CIE-L*ab color space.
Each formula is written as a "neutral programming function", easy to be translate in any specific computer language.
We did not post obvious deltas which involve a simple subtraction of two values.
Please keep in mind that implementing complex delta calculation (CMC, 1994, 2000) in your code may involve a lot of attention about the math itself and also the coding syntax.