summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEevee (Alex Munroe) <eevee.git@veekun.com>2013-08-27 15:17:41 -0700
committerEevee (Alex Munroe) <eevee.git@veekun.com>2013-08-27 15:17:41 -0700
commit2b61376baf191a82f9774dcb9f51abd03edb1eba (patch)
tree4ab9b1d4a23091807b65dfdd28bb1f89a05a9b12
parent1ae8681aa4f0f9dce4439d6294376b5a11349fc3 (diff)
downloadpyscss-2b61376baf191a82f9774dcb9f51abd03edb1eba.tar.gz
That's not how you calculate hue...
-rw-r--r--scss/functions/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/functions/core.py b/scss/functions/core.py
index 4ea9476..93f0d8b 100644
--- a/scss/functions/core.py
+++ b/scss/functions/core.py
@@ -203,7 +203,7 @@ def alpha(color):
@register('hue', 1)
def hue(color):
h, s, l = color.hsl
- return Number(h * 100, "deg")
+ return Number(h * 360, "deg")
@register('saturation', 1)