remove extra *255 in hsl conversion

this is currently happening on lines 437-441 when converting to the
int32Color
This commit is contained in:
Ryan Huber
2019-07-18 11:25:35 -04:00
committed by Mikael Sand
parent b7e57ddc27
commit 6656cb4959
+1 -1
View File
@@ -172,7 +172,7 @@ function hslToRgb(hsl) {
let val;
if (s === 0) {
val = l * 255;
val = l;
return [val, val, val];
}