Skip to content

Commit da1a906

Browse files
author
Ten
committed
2 parents 5f92f1e + c8fd6f3 commit da1a906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getHSBValue.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ function rgbToHsv(r, g, b) {
2929

3030
h *= 60;
3131
}
32-
return [ Math.round(h), Math.round(s), Math.round(v) ];
32+
return [ Math.round(h), Math.round(s*100)/100, Math.round(v*100)/100 ];
3333
}

0 commit comments

Comments
 (0)