Skip to content

Commit a5e794f

Browse files
committed
[css-color] Linger reference to rgb() with optional alpha, which the WG rejected.
1 parent 8417de8 commit a5e794f

2 files changed

Lines changed: 75 additions & 64 deletions

File tree

css-color/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ HSL Colors: ''hsl()'' and ''hsla()'' functions</h2>
866866
but this specification does not define how to do so.
867867

868868
The final argument specifies the alpha channel of the color.
869-
It's interpreted identically to the fourth argument of the ''rgb()'' function.
869+
It's interpreted identically to the fourth argument of the ''rgba()'' function.
870870
If omitted, it defaults to ''100%''.
871871

872872
<div class='example'>
@@ -1314,7 +1314,7 @@ HWB Colors: ''hwb()'' function</h2>
13141314
with the same relative ratio.
13151315

13161316
The fourth argument specifies the alpha channel of the color.
1317-
It's interpreted identically to the fourth argument of the ''rgb()'' function.
1317+
It's interpreted identically to the fourth argument of the ''rgba()'' function.
13181318
If omitted, it defaults to ''100%''.
13191319

13201320
The resulting color can be thought of conceptually as a mixture of paint in the chosen hue,

0 commit comments

Comments
 (0)