Chart colors

Extended series colors provide consistent references for data visualization. Choose a distinguishable palette and supplement color with labels, patterns, or shapes.

In use

.chart-series:first-child {
  stroke: var(--chart-color-1);
}
.chart-series:nth-child(2) {
  stroke: var(--chart-color-2);
}

These examples show how to consume the tokens. Assign values before using them.

--chart-color-1

extendedType: color

First chart series color.

Value: supplied by your design.

--chart-color-2

extendedType: color

Second chart series color.

Value: supplied by your design.

--chart-color-3

extendedType: color

Third chart series color.

Value: supplied by your design.

--chart-color-4

extendedType: color

Fourth chart series color.

Value: supplied by your design.

--chart-color-5

extendedType: color

Fifth chart series color.

Value: supplied by your design.

--chart-color-6

extendedType: color

Sixth chart series color.

Value: supplied by your design.

← All tokens