Skip to content

Commit

Permalink
[css-color-4] Fix #1534
Browse files Browse the repository at this point in the history
  • Loading branch information
svgeesus committed Dec 10, 2018
1 parent ae661af commit b1783ec
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions css-color-4/Overview.bs
Expand Up @@ -1808,20 +1808,25 @@ Profiled, Device-dependent Colors</h2>

<div class='example'>
This example specifies four profiled colors:
for a standard CMYK press,
for a standard SWOP-coated CMYK press,
for a wide-gamut seven-ink printer,
for ProPhoto RGB,
and for the P3 standard RGB space.
and for the image-p3 standard RGB space.
In each case, the numerical parameters
are in the range 0.0 to 1.0
(rather than, for example, 0 to 255).
<!-- add examples with alpha, and with fallback -->
<pre>
color: color(swopc 0 206 190 77);
color: color(indigo 24 160 86 42 0 18 31);
color: color(prophoto 233 150 122);
color: color(p3 97 253 36);
color: color(swopc 0.0134 0.8078 0.7451 0.3019);
color: color(indigo 0.0941 0.6274 0.3372 0.1647 0 0.0706 0.1216);
color: color(prophoto 0.9137 0.5882 0.4784);
color: color(image-p3 0.3804 0.9921 0.1412);
</pre>

All but the predefined colorspace example also need a matching ''@color-profile'' at-rule somewhere
in the stylesheet, to connect the name with the profile data.
All but the predefined colorspace example
also need a matching ''@color-profile'' at-rule
somewhere in the stylesheet,
to connect the name with the profile data.

<pre>
@color-profile swopc {
Expand Down

0 comments on commit b1783ec

Please sign in to comment.