You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<dd>Syntactically a <number>. The uniform opacity setting to be applied across an entire object.
437
437
Any values outside the range 0.0 (fully transparent) to 1.0 (fully
@@ -518,7 +518,7 @@ <h3 id="numerical">Numerical color values</h3>
518
518
519
519
<h4id="rgb-color">RGB color values</h4>
520
520
521
-
<p>The <spanclass="index-def" title="rgb()">RGB color model</span> is used in numerical color specifications. These examples all specify the same color:</p>
521
+
<p>The <spanclass="index-def" title="rgb()"id="rgb-def">RGB color model</span> is used in numerical color specifications. These examples all specify the same color:</p>
#FFF. White space characters are allowed around the numerical values.
546
546
</p>
547
-
<p>All RGB colors are specified in the <spanclass="index-def">sRGB</span> color space (see
547
+
<p>All RGB colors are specified in the <spanclass="index-def"id="sRGB-def">sRGB</span> color space (see
548
548
[[!SRGB]]). User agents may vary in the fidelity with which they represent these colors, but using sRGB provides an unambiguous and
549
549
objectively measurable definition of what the color should be, which can be related to international standards (see [[!COLORIMETRY]]).
550
550
</p>
@@ -573,7 +573,7 @@ <h4 id="rgb-color">RGB color values</h4>
573
573
574
574
<h4id="rgba-color">RGBA color values</h4>
575
575
576
-
<p>The <spanclass="index-def" title="rgba()">RGB color model is extended</a> in this specification to include
576
+
<p>The <spanclass="index-def" title="rgba()"id="rgba-def">RGB color model is extended</a> in this specification to include
577
577
'alpha' to allow specification of the opacity of a color.
578
578
See <ahref="#alpha">simple alpha compositing</a> for details.
579
579
These examples all specify the same color:</p>
@@ -622,15 +622,15 @@ <h4 id="transparent">'transparent' color keyword</h4>
622
622
Open eBook(tm) Publication Structure 1.0.1 [[OEB101]] extended the 'color' property to also accept the 'transparent' keyword. CSS3 extends the color value to include the 'transparent' keyword to allow its use with all properties that accept a <color> value. This simplifies the definition of those properties in CSS3.
<dd>Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value.
627
627
</dd>
628
628
</dl>
629
629
630
630
631
631
<h4id="hsl-color">HSL color values</h4>
632
632
633
-
<p>CSS3 adds numerical <spanclass="index-def" title="hsl()">hue-saturation-lightness (HSL) colors</a> as a complement to numerical RGB colors. It has been observed that RGB colors have the following limitations:
633
+
<p>CSS3 adds numerical <spanclass="index-def" title="hsl()"id="hsl-def">hue-saturation-lightness (HSL) colors</a> as a complement to numerical RGB colors. It has been observed that RGB colors have the following limitations:
<h4id="hsla-color" style="margin-top:2em">HSLA color values</h4>
1445
1445
1446
-
<p><spanclass="index-def" title="hsla()">Just as the 'rgb()' functional notation has the 'rgba()' alpha counterpart, the 'hsl()' functional notation has the 'hsla()' alpha counterpart.</span>
1446
+
<p><spanclass="index-def" title="hsla()"id="hsla-def">Just as the 'rgb()' functional notation has the 'rgba()' alpha counterpart, the 'hsl()' functional notation has the 'hsla()' alpha counterpart.</span>
1447
1447
See <ahref="#alpha">simple alpha compositing</a> for details.
1448
1448
These examples specify the same color:
1449
1449
</p>
@@ -1638,7 +1638,7 @@ <h3 id="currentcolor">'currentColor' color keyword</h3>
1638
1638
<ahref="http://www.w3.org/TR/SVG/color.html#ColorProperty">SVG 1.0 introduced the 'currentColor' value</a>
1639
1639
for the 'fill', 'stroke', 'stop-color', 'flood-color', 'lighting-color' properties. CSS3 extends the color value to include the 'currentColor' keyword to allow its use with all properties that accept a <color> value. This simplifies the definition of those properties in CSS3.
<dd>The value of the 'color' property. The computed value of the 'currentColor' keyword is the computed value of the 'color' property. If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit' at parse time.
1643
1643
</dd>
1644
1644
</dl>
@@ -1647,7 +1647,7 @@ <h3 id="css-system">CSS System Colors</h3>
1647
1647
1648
1648
<h4id="css2-system">CSS2 System Colors</h4>
1649
1649
1650
-
<p><strong>Deprecated.</strong><spanclass="index-def" title="system colors">In addition to being able to assign pre-defined color values to text, backgrounds,
1650
+
<p><strong>Deprecated.</strong><spanclass="index-def" title="system colors"id="system-colors-def">In addition to being able to assign pre-defined color values to text, backgrounds,
0 commit comments