Open sdhull opened 6 years ago
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)"
"rgb(85, 255, 0)"
h = 100
"rgb(255, 1, 0)"
Easy to repro on RunKit
expected return value:
"rgb(85, 255, 0)"
(same as forh = 100
in the 0-360 space) actual return value:"rgb(255, 1, 0)"