Skip to content

Commit 506e40f

Browse files
committed
[css-color] optional alpha for rgb() and hsl()
1 parent 4e3ec8c commit 506e40f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-color/Overview.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ The RGB functions: ''rgb()'' and ''rgba()''</h3>
171171
Its syntax is:
172172

173173
<pre class='prod'>
174-
<dfn>rgb()</dfn> = rgb( <<rgb-component>>#{3} )
174+
<dfn>rgb()</dfn> = rgb( <<rgb-component>>#{3} [, <<alpha-value>> ]? )
175175
<dfn>rgba()</dfn> = rgba( <<rgb-component>>#{3} , <<alpha-value>> )
176176
<dfn>&lt;rgb-component></dfn> = <<number>> | <<percentage>>
177177
<dfn>&lt;alpha-value></dfn> = <<number>> | <<percentage>>
@@ -709,7 +709,7 @@ HSL Colors: ''hsl()'' and ''hsla()'' functions</h2>
709709
The syntax of the ''hsl()'' function is:
710710

711711
<pre class='prod'>
712-
<dfn>hsl()</dfn> = hsl( <<hue>>, <<percentage>>, <<percentage>> )
712+
<dfn>hsl()</dfn> = hsl( <<hue>>, <<percentage>>, <<percentage>> [, <<alpha-value>> ]? )
713713
<dfn>hsla()</dfn> = hsla( <<hue>>, <<percentage>>, <<percentage>>, <<alpha-value>> )
714714
<dfn>&lt;hue></dfn> = <<number>> | <<angle>>
715715
</pre>

0 commit comments

Comments
 (0)