d3/test/color
Mike Bostock ce6526cfe3 Color interpolators return color instances.
Fixes #1029. Previously, these interpolators returned RGB hexadecimal strings,
as the intent was for the color to be used to set attributes and styles.
However, since #333, all colors return RGB hexadecimal strings when coerced to a
string, so we can get the equivalent behavior by returning a color instance
rather than a string. Returning a color instance is also more useful in the case
where additional color manipulation (such as brighter/darker) is desired.
2013-07-05 11:18:06 -07:00
..
hcl-test.js Color interpolators return color instances. 2013-07-05 11:18:06 -07:00
hsl-test.js Color interpolators return color instances. 2013-07-05 11:18:06 -07:00
lab-test.js Color interpolators return color instances. 2013-07-05 11:18:06 -07:00
rgb-test.js Use _ to disambiguate local vs. global d3. 2013-03-14 15:14:12 -07:00