@@ -76,7 +76,7 @@ Introduction {#intro}
7676 However, other color spaces can be specified,
7777 including ``hsl()`` or ``srgb`` if desired.
7878
79- color spaces {#color spaces-section }
79+ Color Spaces {#color-spaces }
8080==============
8181
8282Mixing or otherwise combining colors
@@ -92,10 +92,10 @@ Lastly, compatibility with legacy Web content may be the most important consider
9292
9393
9494<pre class='prod'>
95- <dfn><color space></dfn> = srgb | hsl | hwb | xyz | lab | lch
95+ <dfn><color- space></dfn> = srgb | hsl | hwb | xyz | lab | lch
9696</pre>
9797
98- When no [= color space=] is specified,
98+ When no << color- space>> is specified,
9999the mixing is done in the ''lch'' color space.
100100The [=xyz=] color space is CIE XYZ, with a D50 whitepoint, and allows computation to be done
101101in a linear-light-intensity space.
@@ -116,12 +116,12 @@ Mixing colors: the ''color-mix()'' function {#color-mix}
116116
117117 This function takes two <<color>> specifications
118118 and returns the result of mixing them,
119- in a given [= color space=] ,
119+ in a given << color- space>> ,
120120 by a specified amount.
121121
122122
123123<pre class='prod'>
124- <dfn>color-mix()</dfn> = color-mix( in <<color space>> , [ <<color>> && <<percentage>> ? ]#{2})
124+ <dfn>color-mix()</dfn> = color-mix( in <<color- space>> , [ <<color>> && <<percentage>> ? ]#{2})
125125</pre>
126126
127127 The percentages are normalized as follows:
@@ -143,7 +143,7 @@ Issue: Should we handle p1 + p2 < 100% differently? E.g. a mix with `transpar
143143
144144After normalizing both percentages, the result is produced via the following algorithm:
145145
146- 1. Both colors are converted to the specified [= color space=] .
146+ 1. Both colors are converted to the specified << color- space>> .
147147 If the specified color space has a smaller gamut
148148 than the one in which the color to be adjusted is specified,
149149 gamut mapping will occur.
@@ -629,7 +629,7 @@ Adjusting colors: the ''color-adjust'' function {#coloradjust}
629629 Multiple color functions can be specified.
630630
631631 <pre class='prod'>
632- <dfn>color-adjust()</dfn> = color-adjust( <<color>> [ <<color-adjuster>> && [ in <<color space>> ]? ]? )
632+ <dfn>color-adjust()</dfn> = color-adjust( <<color>> [ <<color-adjuster>> && [ in <<color- space>> ]? ]? )
633633 </pre>
634634
635635 <pre class='prod'>
@@ -647,15 +647,15 @@ Adjusting colors: the ''color-adjust'' function {#coloradjust}
647647 </pre>
648648
649649 The meaning of the adjusters is defined by color space.
650- For example, if the [= color space=] is [=hsl=] ,
650+ For example, if the << color- space>> is [=hsl=] ,
651651 hue means the HSL hue, which is not the same as the LCH hue;
652652 if the color space is [=lch=] ,
653653 lightness means the LCH Lightness, which is the same as Lab lightness,
654654 but different to the HSL Lightness.
655655
656- Only the [=color-adjuster=] s defined for a given [= color space=] are available.
656+ Only the [=color-adjuster=] s defined for a given << color- space>> are available.
657657 For example, it is not possible to use the HWB [=whiteness=] adjuster unless the color space is [=hwb=] .
658- The alpha adjuster is available on any [= color space=] .
658+ The alpha adjuster is available on any << color- space>> .
659659
660660 Note: not all [=color-adjuster=] s are equally useful.
661661 Adjustments in LCH are the most useful, which is why it is the default.
@@ -993,7 +993,7 @@ Changes {#changes}
993993
994994<ul>
995995 <!--
996- <li> Added `in` keyword before <<color space>> tokens in functions</li>
996+ <li> Added `in` keyword before <<color- space>> tokens in functions</li>
997997 <li> Removed adjusters from color-mix</li>
998998 -->
999999 <!-- to 28 Jan 2021 -->
0 commit comments