@@ -252,22 +252,22 @@ Value Definitions
252
252
253
253
254
254
width=500 height=464
255
- alt="uv chromaticity diagram of the display-p3 colorspace ">
255
+ alt="uv chromaticity diagram of the display-p3 color space ">
256
256
A chromaticity diagram showing
257
- (in solid colors) the ''display-p3'' colorspace
257
+ (in solid colors) the ''display-p3'' color space
258
258
and for comparison
259
- (faded) the ''sRGB'' colorspace .
259
+ (faded) the ''sRGB'' color space .
260
260
The white point (D65) is also shown.
261
261
262
262
263
263
264
- RGB colorspaces are additive,
264
+ RGB color spaces are additive,
265
265
and their gamut is defined
266
266
by the chromaticities of the red, green and blue primaries,
267
267
plus the chromaticity of the white point
268
268
(the color formed by all three primaries at full intensity).
269
269
270
- Most colorspaces use one of a few
270
+ Most color spaces use one of a few
271
271
daylight-simulating [=white points=] ,
272
272
which are named by the color temperature
273
273
of the corresponding black-body radiator.
@@ -3118,7 +3118,7 @@ Device-independent Colors: CIE Lab and LCH, OKLab and OKLCH
3118
3118
3119
3119
These deficiencies affect, for example,
3120
3120
creation of evenly spaced gradients,
3121
- gamut mapping from one colorspace to a smaller one,
3121
+ gamut mapping from one color space to a smaller one,
3122
3122
and computation of the visual difference between two colors.
3123
3123
3124
3124
To compensate for this,
@@ -3162,7 +3162,7 @@ Device-independent Colors: CIE Lab and LCH, OKLab and OKLCH
3162
3162
and negative are the complementary blue/violet.
3163
3163
3164
3164
The illuminant is [=D65=] , the same white point
3165
- as most RGB colorspaces .
3165
+ as most RGB color spaces .
3166
3166
3167
3167
OKLCH has the same L axis as OKLab,
3168
3168
but uses polar coordinates C (chroma) and H (hue).
@@ -3646,7 +3646,7 @@ Predefined Color Spaces
3646
3646
Predefined sRGB space
3647
3647
3648
3648
3649
- The sRGB predefined colorspace
3649
+ The sRGB predefined color space
3650
3650
defined below
3651
3651
is the same as is used for legacy sRGB colors,
3652
3652
such as ''rgb()'' .
@@ -3715,7 +3715,7 @@ Predefined Color Spaces
3715
3715
Predefined sRGB-linear space
3716
3716
3717
3717
3718
- The sRGB-linear predefined colorspace
3718
+ The sRGB-linear predefined color space
3719
3719
is the same as ''srgb''
3720
3720
except that the transfer function
3721
3721
is linear-light (there is no gamma-encoding).
@@ -4162,7 +4162,7 @@ Converting Lab or OKLab to predefined RGB color spaces
4162
4162
Converting between predefined RGB color spaces
4163
4163
4164
4164
4165
- Conversion from one predefined RGB colorspace to another
4165
+ Conversion from one predefined RGB color space to another
4166
4166
requires multiple steps,
4167
4167
one of which is only needed when the whitepoints differ.
4168
4168
To convert from src to dest :
@@ -4650,16 +4650,16 @@ Gamut Mapping
4650
4650
4651
4651
This section is non-normative
4652
4652
4653
- When a color in an origin colorspace
4654
- is converted to another, destination colorspace
4653
+ When a color in an origin color space
4654
+ is converted to another, destination color space
4655
4655
which has a smaller gamut,
4656
4656
some colors will be outside the destination gamut.
4657
4657
4658
4658
For intermediate color calculations,
4659
4659
these out of gamut values are preserved.
4660
4660
However, if the destination is the display device
4661
4661
(a screen, or a printer)
4662
- then out of gamut values ust be converted to
4662
+ then out of gamut values must be converted to
4663
4663
an in-gamut color.
4664
4664
4665
4665
Gamut mapping is the process of finding an in-gamut color
@@ -4668,21 +4668,21 @@ Gamut Mapping
4668
4668
The simplest and least acceptable method
4669
4669
is simply to clip the component values
4670
4670
to the displayable range.
4671
- This changes the proportions of (for an RGB display)
4672
- the three primary colors,
4671
+ This changes the proportions of
4672
+ the three primary colors (for an RGB display) ,
4673
4673
resulting in a hue shift.
4674
4674
4675
- A better method is to mapped colors
4676
- in a perceptually uniform colorspace ,
4675
+ A better method is to map colors
4676
+ in a perceptually uniform color space ,
4677
4677
by finding the closest in-gamut color
4678
4678
(so-called minimum ΔE or MINDE ).
4679
4679
Clearly, the sucess of this technique
4680
4680
depends on
4681
- the degree of uniformity of the gamut mapping colorspace
4681
+ the degree of uniformity of the gamut mapping color space
4682
4682
and the predictive accuracy of the deltaE function used.
4683
4683
4684
4684
However, when doing gamut mapping
4685
- (and we are really talking about gamut reduction, here),
4685
+
4686
4686
changes in Hue are particularly objectionable;
4687
4687
changes in Chroma are more tolerable,
4688
4688
and
@@ -4692,32 +4692,36 @@ Gamut Mapping
4692
4692
and thus gives suboptimal results.
4693
4693
4694
4694
To improve on MINDE algorithms,
4695
- colors are mapped in a perceptually uniform, polar colorspace
4695
+ colors are mapped in a perceptually uniform, polar color space
4696
4696
by holding the hue constant,
4697
4697
and reducing the chroma until the color falls in gamut.
4698
4698
4699
4699
4700
4700
In this example, Display P3 primary yellow
4701
+ (
color(display-p3 1 1 0) )
4701
4702
is being mapped to an sRGB display.
4702
- The gamut mapping colorspace is OKLCH.
4703
+ The gamut mapping color space is OKLCH.
4703
4704
4704
-
4705
- color(display-p3 1 1 0) is
4706
- color(srgb 1 1 -0.3463) which is
4707
- color(oklch 0.96476 0.24503 110.23).
4708
-
4705
+
4706
+ is
4707
+
4708
+ which is
4709
+ <pre class="lang-css"> color(oklch 0.96476 0.24503 110.23) < /pre>
4709
4710
4710
4711
By progressively reducing the chroma component
4711
4712
until the resulting color falls inside the sRGB gamut
4712
4713
(has no components negative, or greater than one)
4713
4714
a gamut mapped color is obtained.
4714
4715
4715
4716
4716
- color(oklch 0.96476 0.21094 110.23) which is
4717
+ color(oklch 0.96476 0.21094 110.23)
4718
+ which is
4719
+
4717
4720
color(srgb 0.99116 0.99733 0.00001)
4718
4721
4719
4722
4720
- A constant-hue slice of OKLCH colorspace.
4723
+
4724
+ A constant-hue slice of OKLCH color space.
4721
4725
The vertical axis represents lightness,
4722
4726
the horizontal axis is chroma.
4723
4727
The color to be mapped,
@@ -4729,7 +4733,6 @@ Gamut Mapping
4729
4733
The gamut boundary of sRGB
4730
4734
is shown in green.
4731
4735
4732
-
4733
4736
4734
4737
4735
4738
@@ -4746,15 +4749,15 @@ Gamut Mapping
4746
4749
The line of constant lightness can skim just above the gamut boundary,
4747
4750
resulting in an excessively low chroma in those cases.
4748
4751
4749
- The choice of colorspace will affect the acceptability of the gamut mapped colors.
4752
+ The choice of color space will affect the acceptability of the gamut mapped colors.
4750
4753
4751
- Note: Using the CIE LCH colorspace
4754
+ Note: Using the CIE LCH color space
4752
4755
and deltaE2000 distance metric,
4753
4756
is known to give suboptimal results
4754
4757
4755
4758
for colors in the hue range
4756
4759
270° to 330°.
4757
- Using OKLCH colorspace
4760
+ Using OKLCH color space
4758
4761
and deltaEOK distance metric
4759
4762
4760
4763
@@ -4787,11 +4790,11 @@ Gamut Mapping
4787
4790
and detail and texture must be preserved,
4788
4791
a perceptual rendering intent is more appropriate
4789
4792
and in that case,
4790
- colors inside the destinatin gamut
4793
+ colors inside the destination gamut
4791
4794
may well be changed.
4792
4795
4793
- CSS gamut mapping occurs in the OKLCH colorspace ,
4794
- and the color difference formula used is deltaEOK.
4796
+ CSS gamut mapping occurs in the
OKLCH color space ,
4797
+ and the color difference formula used is
deltaEOK.
4795
4798
4796
4799
The skimming/concavity problem is substantialy improved
4797
4800
by a two-stage in-gamut check.
@@ -4815,7 +4818,7 @@ Gamut Mapping
4815
4818
and a clipped version of that point
4816
4819
exceeds one JND.
4817
4820
4818
- For the OKLCH colorspace ,
4821
+ For the OKLCH color space ,
4819
4822
one JND is is an OKLCH difference of 0.02.
4820
4823
4821
4824
@@ -5214,7 +5217,7 @@ Changes
5214
5217
5215
5218
5216
5219
Computed value of color(xyz ...) is color(xyz-d65 ...)
5217
- Added srgb-linear to interpolation colorspaces
5220
+ Added srgb-linear to interpolation color spaces
5218
5221
Updated Changes from Colors 3 section
5219
5222
Added Resolving OKLab and OKLCH values section
5220
5223
@@ -5260,7 +5263,7 @@ Changes
5260
5263
Clarified which steps are linear combinations in RGB Lab interconversion
5261
5264
5262
5265
Added components descriptor to @color-profile, for use in CSS Color 5
5263
- All predefined RGB colorspaces are defined over the extended range
5266
+ All predefined RGB color spaces are defined over the extended range
5264
5267
Clarified that there is no gamut mapping or gamut clipping step prior to color interpolation
5265
5268
Clarified interpolation of legacy sRGB syntaxes
5266
5269
Removed the lab option from ''color()''
0 commit comments