Skip to main content
Workforce LibreTexts

4.7: Lab Colour Space and Delta E Measurements

  • Page ID
    9525
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    The CIE (Commission Internationale d’Eclairage or International Commission on Light) is a scientific body formed by colour scientists in the 1930s that has provided much of the fundamental colour knowledge we possess today. Three core definitions provided by the CIE are the standard observer, the Lab colour space, and Delta E measurements. The latter two are particularly important for colour management.

    The Lab Colour Space Revisited

    In section, 4.2, we mentioned the Lab colour space as a natural outgrowth of understanding the function of opponency in human vision. It’s comprised of three axes: L represents darkness to lightness, with values ranging from 0 to 100; a represents greenness to redness with values of -128 to +127; and b represents blueness to yellowness also with values from -128 to +127.

    Notice that there are no negative values on the L axis as we can’t have less than zero light, which describes absolute darkness. The L axis is considered achromatic meaning without colour. Here we are dealing with the volume rather than the kind of light. In contrast, the a and b axes are chromatic, describing the colour character and the type of light.

    The standard two-dimensional depiction is of only the a and b axes, with a as the horizontal axis and b as the vertical axis. This places red to the right, green to the left, blue at the bottom, and yellow at the top. If you found our previous mnemonic aid of POLO helpful, you can use RGBY to remember the colour pairs. For correct placement, remember that red is on the right, and blue is on the bottom.

    Colours are more neutral and grey toward the centre of the colour space, along the L axis. Imagine that equivalent values of the opposing colours are cancelling each other out, reducing the saturation and intensity of those colours. The most saturated colours are at the extremes of the a and b axes, in both the large positive and negative numbers. For a visual depiction of the Lab colour space, open the ColorSync application found in the Utilities folder of any Macintosh computer and view one of the default profiles such as Adobe RGB.

    Now it’s time to explore the practical application of this colour map for the comparative analysis of colour samples. We can’t make any progress in evaluating our success in colour matching unless we have a frame of reference, some yardstick to determine how much one colour sample is similar or different from another. That yardstick is the Delta E measurement.

    Delta E

    Delta E in Lab Colour Space
    Figure 4.7 Lab Colour Space

    Delta, the fourth letter of the Greek alphabet and symbolized as a triangle, is used in science to indicate difference. Delta E is the difference between two colours designated as two points in the Lab colour space. With values assigned to each of the L, a, and b attributes of two colours, we can use simple geometry to calculate the distance between their two placements in the Lab colour space (see Figure 4.7).

    How do we do that? It looks a lot like the formula used to determine the long side of a right triangle that you may remember from high school geometry. We square the difference between each of the L, a, and b values; add them all together; and take the square root of that sum. Written out as a formula it looks a little more daunting: \sqrt{ {({L}_{1}-{L}_{2})}^{2} +{ ({a}_{1}-{a}_{2})}^{2} +{({b}_{1}-{b}_{2})}^{2}}.

    Let’s try a simple example to see what we get. Colour 1 has a Lab value of 51, 2, 2 and Colour 2 is 50, 0, 0 (right at the centre of the colour space):

    {L}_{1}-{L}_{2} = 51-50 = 1, and1\times1=1, so our first value is 1.

    {a}_{1}-{a}_{2} = 2-0 = 2; and 2\times2=4, so our second value is 4.

    {b}_{1}-{b}_{2}=2=0=2; 2\times2=4, so the third value is also 4.

    Add them together: 1 + 4 + 4 = 9; and take the square root: \sqrt{9} = 3.

    The Delta E (difference) between our two colours is 3. Could we detect that difference if we were viewing those two colours? Probably just barely. The minimum Delta E for seeing a difference is about 2. Smaller differences can normally be detected in neutral colours (such as our samples), while more saturated colours require a slightly larger Delta E. A Delta E of 4 is the upper threshold for acceptable machine repeatability or consistency.

    Delta E provides a value indicating the overall difference between two colours. It does not provide any colour-related data such as which colour is lighter/darker, redder/greener, more blue/more yellow. To understand how the colours are different, we have to evaluate the comparative L, a, and b differences independently.

    Experimentation over time has come to show that conventional Delta E is about 75% accurate in showing the difference we see between two colours. Delta E numbers exaggerate the differences in yellows and compress our perceptual distance between blues. To improve on the representation of our interpretation of colour difference, scientists have produced a modified formula known as Delta E(94).

    Delta E(94)

    Delta E(94) is a modified formula that provides about 95% accuracy in correlation to human perception of colour differences. Here it is in all its splendour:

    \delta{E*}_{94} = \sqrt{({\dfrac{\delta{L}^{*}}{{k}_{L}{S}_{L}})}^{2} + {(\dfrac{\delta{C}^{*}_{ab}}{{k}_{C}{S}_{C}})}^{2} + {(\dfrac{\delta{H}^{*}_{ab}}{k_{H}S_{H}})}^{2}

    where:

    {S}_{L}=1

    {S}_{C}=1+0.045{C}_{ab}

    {S}-{H} = 1 + 0.015{C}_{ab}

    {K}_{L}= {K}_{C}={K}_{H} = 1 (for reference conditions)

    {C}_{ab}= {C}^{*}_{ab}\text{(standard) OR} \sqrt{{C}_{ab,1}{C}_{ab,2}}

    \delta{H}^{*}_{ab}=\sqrt{{\delta{{E}}^{*}_{ab}}^{2}-{\delta{L}^{*}}^{2}-{\delta{{C}}^{*}_{ab}}^{2}}

    You can see that it is still the comparison of three values: L, C, and H, where C and H are produced by applying modifying factors to the original Lab values to compensate for perceptual distortions in the colour space. Each difference is squared and the root taken of the sum of the squares, just as in the original Delta E formula.

    There is an additional refinement in Delta E(2000) where further adjustments are applied to blue and neutral colours and compensations for lightness, chroma, and hue. This is a much smaller correction than the change from Delta E to Delta E(94).

    The good news is that you don’t need to understand or remember any of the details of these equations. Just remember that these are real numbers measuring actual plotted distances between colour samples. Delta E represents the distance between two points in the Lab colour space. Delta E(94) and Delta E(2000) are enhancements, providing improved numbers that more closely match our perception of colour differences.

    Media Attributions

    • Delta E in Lab Colour Space by Ken Jeffrey

    This page titled 4.7: Lab Colour Space and Delta E Measurements is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Graphic Communications Open Textbook Collective (BCCampus) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.