diff --git a/src/color/Color.js b/src/color/Color.js index 3a0035c1..d9f852ce 100644 --- a/src/color/Color.js +++ b/src/color/Color.js @@ -278,8 +278,8 @@ var Color = this.Color = Base.extend(new function() { var h = color._hue, s = color._saturation, b = color._brightness, - a = color._alpha; - var f = h % 60, + a = color._alpha, + f = h % 60, p = (b * (1 - s)) / 1, q = (b * (60 - s * f)) / 60, t = (b * (60 - s * (60 - f))) / 60;