H in HSV does not actually support values 0-1
sdhull opened this issue · comments
Steve Hull commented
Easy to repro on RunKit
var tinycolor = require("tinycolor2")
var color = tinycolor({h: 0.27, s: 1, v: 1});
color.toString('rgb')
expected return value: "rgb(85, 255, 0)"
(same as for h = 100
in the 0-360 space)
actual return value: "rgb(255, 1, 0)"