Returns an RGB color space interpolator between the two colors a and b with a configurable gamma. If the gamma is not specified, it defaults to 1.0.
The colors a and b need not be in RGB; they will be converted to RGB using d3.rgb. The return value of the interpolator is an RGB string.
Returns an RGB color space interpolator between the two colors
a
andb
with a configurable gamma. If the gamma is not specified, it defaults to 1.0. The colorsa
andb
need not be in RGB; they will be converted to RGB usingd3.rgb
. The return value of the interpolator is an RGB string.