--chart-color-1
First chart series color.
Value: supplied by your design.
Modern CSS toolset
Extended series colors provide consistent references for data visualization. Choose a distinguishable palette and supplement color with labels, patterns, or shapes.
.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-1First chart series color.
Value: supplied by your design.
--chart-color-2Second chart series color.
Value: supplied by your design.
--chart-color-3Third chart series color.
Value: supplied by your design.
--chart-color-4Fourth chart series color.
Value: supplied by your design.
--chart-color-5Fifth chart series color.
Value: supplied by your design.
--chart-color-6Sixth chart series color.
Value: supplied by your design.