mbostock/d3 — Issue #354: hsl.rbg() does not convert correctly
Author: rrust
Created: 2011-10-25 11:26:18+00:00
State: open

Dear d3.js Team!

any value for hue in hsl.rgb() seems to result in #ffffff

var color = d3.hsl(120,50,50);
console.log(color.toString());
color = color.rgb();
console.log(color.toString());
color = d3.hsl(5,120,50);
console.log(color.toString());
color = color.rgb();
console.log(color.toString());

keep up with d3.js!
all the best, Roland