Function: palette()
ts
function palette(spec?): readonly string[];Defined in: color/palettes.ts:64
Resolve a palette spec to its colours — a name, or the colours themselves.
Parameters
| Parameter | Type | Default value |
|---|---|---|
spec | PaletteSpec | "tableau10" |
Returns
readonly string[]