ColorData¶
Named color data. Without arguments it lists the categories:
ColorData[n, k] gives the k-th color of indexed scheme n. Scheme 1 is
generated rather than tabulated — its hues advance by an irrational step, so
it never repeats and takes any index:
The tabulated schemes start over past their last color:
ColorData[n, "ColorList"] gives the scheme's colors:
ColorData["scheme"] gives a named gradient's color function; applying it
(or calling Blend with the scheme name) interpolates the gradient:
The "HTML" scheme is the CSS colour names:
$ wo 'ColorData["HTML", "SlateBlue"]'
RGBColor[0.4156862745098039, 0.3529411764705882, 0.803921568627451]
The "Legacy" scheme shares the same named-colour table: