Skip to content

Commit 2c65e66

Browse files
committed
[css-color-4] Add Lab <-> CMYK summary #4647
1 parent 9de47c1 commit 2c65e66

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

css-color-4/Overview.bs

+20
Original file line numberDiff line numberDiff line change
@@ -2292,6 +2292,26 @@ Converting Lab colors to RGB colors</h3>
22922292
<li>Convert from linear-light display-p3 to display-p3 (do gamma encoding)
22932293
</ol>
22942294

2295+
There is sample JavaScript code for this conversion
2296+
for various RGB colorspaces, in [[#color-conversion-code]].
2297+
2298+
<h3 id="cmyk-to-lab">
2299+
Converting CMYK colors to Lab
2300+
</h3>
2301+
2302+
Conversion from a calibrated CMYK colorspace to Lab
2303+
is typically dones by looking up the Lab values in an ICC profile.
2304+
2305+
<h3 id="cmyk-to-lab">
2306+
Converting Lab colors to CMYK
2307+
</h3>
2308+
2309+
For print,
2310+
Lab colors will need to be converted
2311+
to the colorspace of the display.
2312+
2313+
This is typically dones by looking up the CMYK values in an ICC profile.
2314+
22952315
<h3 id='lab-to-lch'>
22962316
Converting Lab colors to LCH colors</h3>
22972317

0 commit comments

Comments
 (0)