Log out

Subscription valid until 2017-02-25


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.

Delta C*

CIE-a*1, CIE-b*1                   //Color #1 CIE-L*ab values
CIE-a*2, CIE-b*2                   //Color #2 CIE-L*ab values

Delta C* =   sqrt( ( CIE-a*2 ^ 2 ) + ( CIE-b*2 ^ 2 ) )
           - sqrt( ( CIE-a*1 ^ 2 ) + ( CIE-b*1 ^ 2 ) )


Delta H*

Delta E*

Delta E 1994

Delta E 2000

Delta CMC