8000 That's not how you calculate hue... · alex-python/pyScss@2b61376 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2b61376

Browse files
committed
That's not how you calculate hue...
1 parent 1ae8681 commit 2b61376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scss/functions/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def alpha(color):
203203
@register('hue', 1)
204204
def hue(color):
205205
h, s, l = color.hsl
206-
return Number(h * 100, "deg")
206+
return Number(h * 360, "deg")
207207

208208

209209
@register('saturation', 1)

0 commit comments

Comments
 (0)
0