@@ -1803,7 +1803,7 @@ Profiled, Device-dependent Colors</h2>
1803
1803
or an RGB colorspace (such as ProPhoto <!-- ref -->, <!-- would be good to mention AdobeRGB 1998 here too, need to check trademark and copyright status first --> widely used by photographers), or any other color or monochrome output device which has been characterized.
1804
1804
In addition, for convenience,
1805
1805
CSS provides several <!-- more than 2 now, update text!! --> -->predefined RGB color spaces:
1806
- image -p3 [[!DCI-P3]] ,
1806
+ display -p3 [[!DCI-P3]] ,
1807
1807
which is a wide gamut space typical of current wide-gamut monitors,
1808
1808
and Rec. 2020 [[!Rec.2020]] ,
1809
1809
which is a ultra-wide gamut space capable of representing almost all visible real-world colors.
@@ -1815,7 +1815,7 @@ Profiled, Device-dependent Colors</h2>
1815
1815
for a standard SWOP-coated CMYK press,
1816
1816
for a wide-gamut seven-ink printer,
1817
1817
for ProPhoto RGB,
1818
- and for the image -p3 standard RGB space.
1818
+ and for the display -p3 standard RGB space.
1819
1819
In each case, the numerical parameters
1820
1820
are in the range 0.0 to 1.0
1821
1821
(rather than, for example, 0 to 255).
@@ -1824,7 +1824,7 @@ Profiled, Device-dependent Colors</h2>
1824
1824
color: color(swopc 0.0134 0.8078 0.7451 0.3019);
1825
1825
color: color(indigo 0.0941 0.6274 0.3372 0.1647 0 0.0706 0.1216);
1826
1826
color: color(prophoto 0.9137 0.5882 0.4784);
1827
- color: color(image -p3 0.3804 0.9921 0.1412);
1827
+ color: color(display -p3 0.3804 0.9921 0.1412);
1828
1828
</pre>
1829
1829
1830
1830
All but the predefined colorspace example
@@ -1862,7 +1862,7 @@ Profiled, Device-dependent Colors</h2>
1862
1862
1863
1863
* An optional <<ident>> denoting the colorspace.
1864
1864
This can be one of the predefined colorspaces
1865
- (such as ''image -p3'' ),
1865
+ (such as ''display -p3'' ),
1866
1866
or one defined by a ''@color-profile'' rule.
1867
1867
If omitted, it defaults to the predefined ''srgb'' color profile.
1868
1868
@@ -1910,7 +1910,7 @@ Profiled, Device-dependent Colors</h2>
1910
1910
''color()'' represents <a>opaque black</a> .
1911
1911
1912
1912
<h3 id="predefined">
1913
- Predefined colorspaces: ''srgb'', ''image -p3'', ''a98rgb'', ''prophotorgb'' and ''rec2020''.</h3>
1913
+ Predefined colorspaces: ''srgb'', ''display -p3'', ''a98rgb'', ''prophotorgb'' and ''rec2020''.</h3>
1914
1914
1915
1915
The following colorspaces are predefined for use in the ''color()'' function.
1916
1916
They can be used without any ''@color-profile'' rule.
@@ -1954,9 +1954,9 @@ Predefined colorspaces: ''srgb'', ''image-p3'', ''a98rgb'', ''prophotorgb'' and
1954
1954
</pre>
1955
1955
C is the red, green or blue component.
1956
1956
1957
- <dt> <dfn>image -p3</dfn>
1957
+ <dt> <dfn>display -p3</dfn>
1958
1958
<dd>
1959
- The ''image -p3'' colorspace accepts three numeric parameters,
1959
+ The ''display -p3'' colorspace accepts three numeric parameters,
1960
1960
representing the red, green, and blue channels of the color,
1961
1961
with each having a valid range of [0, 1] .
1962
1962
It uses the same primary chromaticities as [[!DCI-P3]] ,
@@ -2075,7 +2075,7 @@ Converting predefined colorspaces to Lab</h4>
2075
2075
<ol>
2076
2076
<li> Convert from gamma-corrected RGB to linear-light RGB (undo gamma encoding)
2077
2077
<li> Convert from linear RGB to CIE XYZ
2078
- <li> Convert from a D65 whitepoint (used by both image -p3 and rec2020) to the D50 whitepoint used in Lab,
2078
+ <li> Convert from a D65 whitepoint (used by both display -p3 and rec2020) to the D50 whitepoint used in Lab,
2079
2079
with the Bradford transform
2080
2080
<li> Convert D50-adapted XYZ to Lab
2081
2081
</ol>
@@ -2084,7 +2084,7 @@ Converting predefined colorspaces to Lab</h4>
2084
2084
<h4 id="lab-to-predefined">
2085
2085
Converting Lab to predefined colorspaces</h4>
2086
2086
2087
- Conversion from Lab to image -p3 or rec2020 also requires multiple steps,
2087
+ Conversion from Lab to display -p3 or rec2020 also requires multiple steps,
2088
2088
and again in practice all but the last step are linear calculations and can be combined.
2089
2089
2090
2090
<ol>
@@ -2113,7 +2113,7 @@ Specifying a color profile: the ''@color-profile'' at-rule</h3>
2113
2113
2114
2114
The <<custom-ident>> gives the <a>color profile's</a> name.
2115
2115
All of the predefined colorspace keywords
2116
- (''srgb'' , ''image -p3'' , ''a98rgb'' , ''prophotorgb'' , ''rec2020'' )
2116
+ (''srgb'' , ''display -p3'' , ''a98rgb'' , ''prophotorgb'' , ''rec2020'' )
2117
2117
are excluded from this <<custom-ident>> ,
2118
2118
as they're predefined by this specification and always available.
2119
2119
@@ -2473,21 +2473,21 @@ Default Style Rules</h2>
2473
2473
2474
2474
2475
2475
function lin_P3(RGB) {
2476
- // convert an array of image -p3 RGB values in the range 0.0 - 1.0
2476
+ // convert an array of display -p3 RGB values in the range 0.0 - 1.0
2477
2477
// to linear light (un-companded) form.
2478
2478
2479
2479
return lin_sRGB(RGB); // same as sRGB
2480
2480
}
2481
2481
2482
2482
function gam_P3(RGB) {
2483
- // convert an array of linear-light image -p3 RGB in the range 0.0-1.0
2483
+ // convert an array of linear-light display -p3 RGB in the range 0.0-1.0
2484
2484
// to gamma corrected form
2485
2485
2486
2486
return gam_sRGB(RGB); // same as sRGB
2487
2487
}
2488
2488
2489
2489
function lin_P3_to_XYZ(rgb) {
2490
- // convert an array of linear-light image -p3 values to CIE XYZ
2490
+ // convert an array of linear-light display -p3 values to CIE XYZ
2491
2491
// using D65 (no chromatic adaptation)
2492
2492
// http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
2493
2493
var M = math.matrix([
@@ -2896,8 +2896,8 @@ Changes</h2>
2896
2896
<li> Clarify allowed range of L in LCH and Lab, and meaning of L=100</li>
2897
2897
<li> Update references for colorspaces used in video</li>
2898
2898
<li> Add ProPhotoRGB predefined colorspace</li>
2899
- <li> Correct black and white luminance levels for image -p3</li>
2900
- <li> Clarify image -p3 transfer function</li>
2899
+ <li> Correct black and white luminance levels for display -p3</li>
2900
+ <li> Clarify display -p3 transfer function</li>
2901
2901
<li> Add a98rgb colorspace</li>
2902
2902
<li> Clarify that currentColor's computed value is not the resolved color</li>
2903
2903
<li> Update syntax is examples to conform to latest specification</li>
@@ -2911,7 +2911,7 @@ Changes</h2>
2911
2911
<li> Simplify conversion from device-cmyk to sRGB</li>
2912
2912
<li> Describe previous, comma-using color syntaxes as "legacy"; change examples to commaless form</li>
2913
2913
<li> Remove superfluous requirement that displayed colors be restricted to device gamut (like there was any other option!)</li>
2914
- <li> Rename P3 to image -p3; avoid claiming this is DCI P3, as these are not the same</li>
2914
+ <li> Rename P3 to display -p3; avoid claiming this is DCI P3, as these are not the same</li>
2915
2915
<li> Improved description of the parameters to the "color()" function</li>
2916
2916
<li> Disallow predefined spaces from "@color-profile" identifier</li>
2917
2917
<li> Add canonical order to "color", "color-adjust" and "opacity" property definitions</li>
0 commit comments