Function: paletteColor()
ts
function paletteColor(index, spec?): string;Defined in: color/palettes.ts:70
The index-th colour of a palette, cycling once the palette is exhausted.
Parameters
| Parameter | Type | Default value |
|---|---|---|
index | number | undefined |
spec | PaletteSpec | "tableau10" |
Returns
string