Skip to content

Variable: PALETTES

ts
const PALETTES: Record<string, readonly string[]>;

Defined in: color/palettes.ts:27

Colour-vision-deficiency safety, roughly:

  • okabe-ito — designed to be distinguishable with any common CVD (8 colours)
  • tableau10 — the default; good separation for ≤10 series
  • set2 — muted pastels, best for large filled areas
  • bright — high-chroma, best on dark backgrounds

MIT licensed. WebGL2 required.