d3.hsv()

d3.hsv(h, s, v[, opacity])
d3.hsv(specifier)
d3.hsv(color)

Constructs a new HSV color. The channel values are exposed as h, s and v properties on the returned instance.

If h, s and v are specified, these represent the channel values of the returned color; an opacity may also be specified. If a CSS Color Module Level 3 specifier string is specified, it is parsed and then converted to the HSV color space. See d3.color for examples. If a color instance is specified, it is converted to the RGB color space using color.rgb and then converted to HSV.

doc_D3_Js
2016-11-24 10:26:43
Comments
Leave a Comment

Please login to continue.