d3.hcl(h, c, l[, opacity]) d3.hcl(specifier) d3.hcl(color) Constructs
color.toString() Returns a string representing this color according to the
d3.hsl(h, s, l[, opacity]) d3.hsl(specifier) d3.hsl(color) Constructs
d3.cubehelix(h, s, l[, opacity]) d3.cubehelix(specifier) d3.cubehelix(color)
color.rgb() Returns the RGB equivalent of
color.displayable() Returns true if and only if the color is displayable on standard hardware. For example, this returns
color.brighter([k]) Returns a brighter copy of this color. If k is specified, it controls how much brighter
color.opacity This color’s opacity, typically in the range [0, 1].
color.darker([k]) Returns a darker copy of this color. If k is specified, it controls how much darker the
d3.lab(l, a, b[, opacity]) d3.lab(specifier) d3.lab(color) Constructs
Page 1 of 2