Skip to content

Commit ee32dd1

Browse files
author
Ten
authored
update...
1 parent 3702680 commit ee32dd1

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 [ h, s, v ];
32+
return [ Math.round(h), Math.round(s), Math.round(v) ];
3333
}

0 commit comments

Comments
 (0)