# Discrete rainbow

Canonical URL: https://colorcurio.us/colormaps/tol.discrete-rainbow
Source type: Colormap
Type: categorical
Collection: tol
Attribution: Paul Tol — SRON Technical Note (2018)
License: BSD-3
Source: https://personal.sron.nl/~pault/data/tol_colors.py
Tags: categorical, rainbow
Stops: 29

## Summary

Discrete rainbow is a 29-color categorical colormap from tol. Its colors span lightness 0.27–0.94 and chroma 0.02–0.23.

Up to 23 mutually distinct hues.

## Perceptual profile (OKLCh)

- Lightness: 0.945 → 0.266 (range 0.678, min 0.266, max 0.945); non-monotonic; midpoint 0.685
- Chroma: min 0.021, max 0.229, mean 0.121
- Hue: 274.0° → 34.9° (span 310.2°), path folded; quadrants: violet, magenta, rose, blue, green, chartreuse, yellow, orange, red
- Endpoint temperature: cool → warm
- Perceptual ΔE: total 287.9, mean/step 10.283, max step 41.240, smoothness 0.193, speed 1.000

## Colorblind safety (ΔE under simulated CVD)

- Protanopia: ΔE total 231.2; preserves order: no
- Deuteranopia: ΔE total 222.6; preserves order: no
- Tritanopia: ΔE total 277.8; preserves order: no

## Related

- Family: [tol](https://colorcurio.us/colormaps/families/tol)
- Source: [Paul Tol — SRON Technical Note (2018)](https://personal.sron.nl/~pault/data/tol_colors.py)
- Similar categorical maps: [Bright](https://colorcurio.us/colormaps/tol.bright), [Dark](https://colorcurio.us/colormaps/tol.dark), [High Contrast](https://colorcurio.us/colormaps/tol.high_contrast), [Land Cover](https://colorcurio.us/colormaps/tol.land_cover), [Light](https://colorcurio.us/colormaps/tol.light), [Medium Contrast](https://colorcurio.us/colormaps/tol.medium_contrast), [Muted](https://colorcurio.us/colormaps/tol.muted), [Pale](https://colorcurio.us/colormaps/tol.pale)
- [All colormaps](https://colorcurio.us/colormaps)
