File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1062,6 +1062,19 @@ and is the [=canonical unit=].
1062
1062
This number is normalized
1063
1063
to the range [0,360).
1064
1064
1065
+ <div class="example" id="example-hue-normalization">
1066
+ For example, in <span class="swatch" style="--color: #000"></span> ''hsl(-540 0 0)''
1067
+ or <span class="swatch" style="--color: #000"></span> ''hsl(540 0 0)'' ,
1068
+ the <<hue>> component is normalized to 180 degrees.
1069
+
1070
+ In <span class="swatch" style="--color: #000"></span> ''hsl(360 0 0)''
1071
+ the <<hue>> component is normalized to 0 degrees.
1072
+
1073
+ In <span class="swatch" style="--color: #000"></span> ''hsl(calc(-infinity) 0 0)''
1074
+ or <span class="swatch" style="--color: #000"></span> ''hsl(calc(infinity) 0 0)'' ,
1075
+ the <<hue>> component is again normalized to 0 degrees.
1076
+ </div>
1077
+
1065
1078
Note: The angles and spacing
1066
1079
corresponding to particular hues
1067
1080
depend on the color space.
You can’t perform that action at this time.
0 commit comments