Export correct color values.

This commit is contained in:
Richard Davey 2017-03-08 22:49:48 +00:00
parent 29cd04121d
commit 9353b049aa

View file

@ -24,10 +24,10 @@ var HSVToRGB = function (h, s, v)
var q = Math.floor((v * (1 - f * s)) * 255);
var t = Math.floor((v * (1 - (1 - f) * s)) * 255);
var output = { r: v, g: v, b: v, color: 0 };
v = Math.floor(v *= 255);
var output = { r: v, g: v, b: v, color: 0 };
var r = i % 6;
if (r === 0)