d3.interpolateHsl()

d3.interpolateHsl(a, b)

hsl

Returns an HSL color space interpolator between the two colors a and b. The colors a and b need not be in HSL; they will be converted to HSL using d3.hsl. If either color’s hue or saturation is NaN, the opposing color’s channel value is used. The shortest path between hues is used. The return value of the interpolator is an RGB string.

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

Please login to continue.