Skip to content

Commit 6581c6a

Browse files
committed
[css-color-4] give deltaE2000 values for MacBeth patches
1 parent 79eb8ab commit 6581c6a

File tree

3 files changed

+554
-12
lines changed

3 files changed

+554
-12
lines changed

css-color-4/Overview.bs

Lines changed: 84 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ table.named-color-table td:nth-child(n+4) { background: silver; }
5656
.color-table th { white-space: pre-line; }
5757
.color-table td { background: currentcolor; }
5858
.color-table .white { color: white; }
59+
table.deltaE td {border: 4px solid white; padding: 6px; font-size: 1.4em;}
60+
table.deltaE td.dE0 { background: rgb(68, 243, 91)}
61+
table.deltaE td.dE1 { background: rgb(153, 243, 68)}
62+
table.deltaE td.dE2 { background: rgb(217, 243, 68)}
63+
table.deltaE td.dE3 { background: rgb(243, 240, 68)}
64+
table.deltaE td.dE4 { background: rgb(243, 202, 68)}
65+
table.deltaE td.dE5 { background: rgb(243, 103, 68); color: white}
5966
</style>
6067

6168
<h2 id="introduction">
@@ -2303,7 +2310,7 @@ Converting CMYK colors to Lab
23032310
Conversion from a calibrated CMYK colorspace to Lab
23042311
is typically dones by looking up the Lab values in an ICC profile.
23052312

2306-
<h3 id="cmyk-to-lab">
2313+
<h3 id="lab-to-cmyk">
23072314
Converting Lab colors to CMYK
23082315
</h3>
23092316

@@ -3050,17 +3057,52 @@ can proceed as normal.
30503057
<figure>
30513058
<img src="images/macbeth-roundtrip.svg" style="width: 60vmin">
30523059
<figcaption>
3053-
A color checker, used for ensuring color fidelity
3060+
<p>A color checker, used for ensuring color fidelity
30543061
in the print and photographic industries.
30553062
Averaged measured Lab values are available for each patch.
30563063
The rectangles show the Lab values, converted to sRGB.
30573064
The circles, which are barely visible, show the Lab values,
30583065
passed through an ICC profile to convert them to CMYK.
30593066
The CMYK values are then passed through the same ICC profile in reverse,
3060-
to yield new Lab values. These are then converted to sRGB for display.
3061-
The one patch with a more visible circle (third row, first patch)
3067+
to yield new Lab values. These are then converted to sRGB for display.</p>
3068+
<p>The one patch with a more visible circle (third row, first patch)
30623069
is because the color is slightly outside the gamut of the
3063-
FOGRA55 CMYK space used.
3070+
FOGRA55 CMYK space used.</p>
3071+
<p>The table below shows, for each patch, the DeltaE 2000 between the original Lab and the Lab value after round-tripping through CMYK. A DeltaE 2000 of 1 or more is just visible.</p>
3072+
<table class="deltaE">
3073+
<tr>
3074+
<td class="dE0">0.06</td>
3075+
<td class="dE0">0.07</td>
3076+
<td class="dE0">0.03</td>
3077+
<td class="dE0">0.04</td>
3078+
<td class="dE0">0.06</td>
3079+
<td class="dE0">0.17</td>
3080+
</tr>
3081+
<tr>
3082+
<td class="dE0">0.03</td>
3083+
<td class="dE0">0.75</td>
3084+
<td class="dE0">0.05</td>
3085+
<td class="dE0">0.06</td>
3086+
<td class="dE0">0.03</td>
3087+
<td class="dE0">0.02</td>
3088+
</tr>
3089+
<tr>
3090+
<td class="dE2">1.9</td>
3091+
<td class="dE0">0.04</td>
3092+
<td class="dE0">0.06</td>
3093+
<td class="dE0">0.05</td>
3094+
<td class="dE0">0.02</td>
3095+
<td class="dE0">0.05</td>
3096+
</tr>
3097+
<tr>
3098+
<td class="dE0">0.03</td>
3099+
<td class="dE0">0.08</td>
3100+
<td class="dE0">0.03</td>
3101+
<td class="dE0">0.03</td>
3102+
<td class="dE0">0.04</td>
3103+
<td class="dE0">0.80</td>
3104+
</tr>
3105+
</table>
30643106
</figcaption>
30653107
</figure>
30663108

@@ -3325,12 +3367,47 @@ Device-dependent CMYK Colors: the ''device-cmyk()'' function</h2>
33253367
<figure>
33263368
<img src="images/macbeth-naive.svg" style="width: 60vmin">
33273369
<figcaption>
3328-
A color checker, used for ensuring color fidelity
3370+
<p>A color checker, used for ensuring color fidelity
33293371
in the print and photographic industries.
33303372
Averaged measured Lab values are available for each patch.
33313373
The rectangles show the Lab values, converted to sRGB.
33323374
The circles show the Lab values, passed through an ICC profile to convert them to CMYK.
3333-
The CMYK value are then naively converted to sRGB.
3375+
The CMYK value are then naively converted to sRGB.</p>
3376+
<p>The table below shows, for each patch, the DeltaE 2000 between the original Lab and the Lab value after round-tripping through CMYK. A DeltaE 2000 of 1 or more is just visible, while 5 or more is just a different color altogether.</p>
3377+
<table class="deltaE">
3378+
<tr>
3379+
<td class="dE5">11.33</td>
3380+
<td class="dE5">9.36</td>
3381+
<td class="dE5">5.66</td>
3382+
<td class="dE5">7.52</td>
3383+
<td class="dE5">12.39</td>
3384+
<td class="dE5">21.58</td>
3385+
</tr>
3386+
<tr>
3387+
<td class="dE5">6.40</td>
3388+
<td class="dE5">8.79</td>
3389+
<td class="dE5">11.77</td>
3390+
<td class="dE5">17.16</td>
3391+
<td class="dE5">11.91</td>
3392+
<td class="dE3">3.97</td>
3393+
</tr>
3394+
<tr>
3395+
<td class="dE5">12.1</td>
3396+
<td class="dE5">17.00</td>
3397+
<td class="dE3">3.38</td>
3398+
<td class="dE1">1.94</td>
3399+
<td class="dE5">18.08</td>
3400+
<td class="dE5">14.97</td>
3401+
</tr>
3402+
<tr>
3403+
<td class="dE1">1.89</td>
3404+
<td class="dE5">6.56</td>
3405+
<td class="dE5">7.85</td>
3406+
<td class="dE5">8.76</td>
3407+
<td class="dE5">9.82</td>
3408+
<td class="dE5">10.29</td>
3409+
</tr>
3410+
</table>
33343411
</figcaption>
33353412
</figure>
33363413

0 commit comments

Comments
 (0)