Skip to content

Commit 70622d0

Browse files
committed
[css-color-4] RCS hue is a number, like the CSSWG resolution and the RCS into say. w3c#9016
1 parent 76860fb commit 70622d0

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

css-color-5/Overview.bs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,10 +1134,10 @@ The grammar of the [=modern color syntax=] ''hsl()'' and ''hsla()'' functions is
11341134
Within a [=relative color=] syntax ''hsl()'' or ''hsla()'' function,
11351135
the allowed [=channel keywords=] are:
11361136

1137-
* <dfn value for="hsl()">h</dfn> is an <<angle>>
1138-
that corresponds to the [=origin color's=] HSL hue
1137+
* <dfn value for="hsl()">h</dfn> is a <<number>>
1138+
that corresponds to the [=origin color's=] HSL hue, in degrees,
11391139
after <a href="#required-conversion">conversion, if required</a> to sRGB,
1140-
normalized to a [0, 360] range
1140+
normalized to a [0, 360] range. 90 is equivalent to 90deg.
11411141
* <dfn value for="hsl()">s</dfn> and <dfn value for="hsl()">l</dfn>
11421142
are <<number>>s that correspond to the [=origin color's=]
11431143
HSL saturation and lightness,
@@ -1172,10 +1172,10 @@ The grammar of the ''hwb()'' function is extended as follows:
11721172
Within a [=relative color=] syntax ''hwb()'' function,
11731173
the allowed [=channel keywords=] are:
11741174

1175-
* <dfn value for="hwb()">h</dfn> is an <<angle>>
1176-
that corresponds to the [=origin color's=] HWB hue
1175+
* <dfn value for="hwb()">h</dfn> is a <<number>>
1176+
that corresponds to the [=origin color's=] HWB hue, in degrees,
11771177
after <a href="#required-conversion">conversion, if required</a> to sRGB,
1178-
normalized to a [0, 360] range
1178+
normalized to a [0, 360] range. 90 is equivalent to 90deg.
11791179
* <dfn value for="hwb()">w</dfn> and <dfn value for="hwb()">b</dfn>
11801180
are <<number>>s that correspond to the [=origin color's=] HWB whiteness and blackness
11811181
after <a href="#required-conversion">conversion, if required</a> to sRGB.
@@ -1280,10 +1280,10 @@ the allowed [=channel keywords=] are:
12801280
that corresponds to the [=origin color's=] LCH chroma
12811281
after <a href="#required-conversion">conversion, if required</a>, to CIE LCH.
12821282
150 is equivalent to 100%.
1283-
* <dfn value for="lch()">h</dfn> is an <<angle>>
1284-
that corresponds to the [=origin color's=] LCH hue,
1283+
* <dfn value for="lch()">h</dfn> is a <<number>>
1284+
that corresponds to the [=origin color's=] LCH hue, in degrees,
12851285
after <a href="#required-conversion">conversion, if required</a>, to CIE LCH,
1286-
normalized to a [0, 360] range.
1286+
normalized to a [0, 360] range. 90 is equivalent to 90deg.
12871287
* <dfn value for="lch()">alpha</dfn> is a <<number>> that corresponds to the [=origin color's=] alpha transparency
12881288

12891289

@@ -1415,9 +1415,9 @@ the allowed [=channel keywords=] are:
14151415
after <a href="#required-conversion">conversion, if required</a>, to Oklch.
14161416
0.4 is equivalent to 100%.
14171417
* <dfn value for="oklch()">h</dfn> is an <<angle>>
1418-
that corresponds to the [=origin color's=] Oklch hue,
1418+
that corresponds to the [=origin color's=] Oklch hue, in degrees,
14191419
after <a href="#required-conversion">conversion, if required</a>, to Oklch,
1420-
normalized to a [0, 360] range.
1420+
normalized to a [0, 360] range. 90 is equivalent to 90deg.
14211421
* <dfn value for="oklch()">alpha</dfn> is a <<number>> that corresponds to the [=origin color's=] alpha transparency
14221422

14231423
Because Oklch is both perceptually uniform and chroma-preserving,

0 commit comments

Comments
 (0)