Permalink
Browse files

Fixed error in hsl2hsv conversion function

  • Loading branch information...
1 parent af0cfa4 commit 30060f1f561a09f25da7a1bf3b3eb8c75fb70d0b @Munter Munter committed Oct 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 conversions.js
View
@@ -209,7 +209,7 @@ function hsl2hsv(hsl) {
s *= (l <= 1) ? l : 2 - l;
v = (l + s) / 2;
sv = (2 * s) / (l + s);
- return [h, s * 100, v * 100];
+ return [h, sv * 100, v * 100];
}
function hsl2cmyk(args) {

0 comments on commit 30060f1

Please sign in to comment.