Color themes

A <graphspec> element can specify a color theme via the theme attribute.

The following are valid color themes for the theme attribute.

For each theme in the Theme column, three images are displayed in the Examples column:
  • the first image shows the theme as a linear scale
  • the second image was created using a sine/cosine function to demonstrate how a scatterplot might look with this theme
  • the third image was created using a different sine/cosine function to show how well the density function will respond to very high frequencies
Theme Examples
alpinecolors
aquamarine
armycolors
atlanticcolors
auroracolors
avocadocolors
beachcolors
black
bluegreenyellow
blueopal
bootstrap
brasstones
brightbands
browncyantones
candycolors
cherrytones
cmykcolors
coffeetones
darkbands
darkrainbow
darkterrain
deepseacolors
default
excel
excelcolors
fallcolors
flat
fruitpunchcolors
fuchsiatones
graytones
grayyellowtones
greenbrownterrain
greenpinktones
happy
highcontrast
islandcolors
kendo
lakecolors
lighttemperaturemap
lightterrain
material
materialblack
maximum
metro
metroblack
mintcolors
moonlight
neoncolors
pastel
pearlcolors
pigeontones
plumcolors
rainbow
redbluetones
redgreensplit
rosecolors
rusttones
sandyterrain
siennatones
silver
solarcolors
southwestcolors
starrynightcolors
sunsetcolors
temperaturemap
tentenorangecolors
thermometercolors
uniform
valentinetones
watermeloncolors

For more information on <graphspec> and its attributes, see <graphspec>.