File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1062,6 +1062,19 @@ and is the [=canonical unit=].
10621062This number is normalized
10631063to the range [0,360).
10641064
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+
10651078Note: The angles and spacing
10661079corresponding to particular hues
10671080depend on the color space.
You can’t perform that action at this time.
0 commit comments