Skip to content

Commit 4819658

Browse files
committed
[css-color-4] Bring prose for HSL into line with the grammar
1 parent 9196479 commit 4819658

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

css-color-4/Overview.bs

+5-5
Original file line numberDiff line numberDiff line change
@@ -2070,10 +2070,10 @@ HSL Colors: ''hsl()'' and ''hsla()'' functions</h2>
20702070
''240deg'' represents sRGB primary blue, etc.
20712071

20722072
The next two arguments are the saturation and lightness, respectively.
2073-
For saturation, ''100%'' is a fully-saturated, bright color,
2074-
and ''0%'' is a fully-unsaturated gray.
2075-
For lightness, ''50%'' represents the "normal" color,
2076-
while ''100%'' is white and ''0%'' is black.
2073+
For saturation, ''100%'' or ''100'' is a fully-saturated, bright color,
2074+
and ''0%'' or ''0'' is a fully-unsaturated gray.
2075+
For lightness, ''50%'' or ''50'' represents the "normal" color,
2076+
while ''100%'' or ''100'' is white and ''0%'' or ''0'' is black.
20772077
<!-- unbounded hsl
20782078
If the saturation or lightness are less than ''0%''
20792079
or greater than ''100%'',
@@ -2087,7 +2087,7 @@ HSL Colors: ''hsl()'' and ''hsla()'' functions</h2>
20872087

20882088
HSL colors resolve to sRGB.
20892089

2090-
If the saturation of an HSL color is ''0%'',
2090+
If the saturation of an HSL color is ''0%'' or ''0'',
20912091
then the hue component is [=powerless=].
20922092

20932093
<div class='example' id="ex-hsl-primary-red">

0 commit comments

Comments
 (0)