Skip to content

Commit 509ebab

Browse files
committed
[css-color-4] Describe increasing and decreasing when 0/360 is passed
1 parent 3e3af1d commit 509ebab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

css-color-4/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4960,6 +4960,8 @@ Hue Interpolation</h3>
49604960
Hue angles are interpolated so that,
49614961
as they progress from the first color to the second,
49624962
the angle is always <em>increasing</em>.
4963+
If the angle increases to 360 it is reset to zero,
4964+
and then continues increasing.
49634965

49644966
Depending on the difference between the two angles,
49654967
this will either look the same as <em>shorter</em> or as <em>longer.</em>
@@ -4997,6 +4999,8 @@ Hue Interpolation</h3>
49974999
Hue angles are interpolated so that,
49985000
as they progress from the first color to the second,
49995001
the angle is always <em>decreasing</em>.
5002+
If the angle decreases to 0 it is reset to 360,
5003+
and then continues decreasing.
50005004

50015005
Depending on the difference between the two angles,
50025006
this will either look the same as <em>shorter</em> or as <em>longer.</em>

0 commit comments

Comments
 (0)