# Spectral

Canonical URL: https://colorcurio.us/colormaps/colorbrewer.Spectral
Source type: Colormap
Type: diverging
Collection: colorbrewer
Attribution: Cynthia Brewer & Mark Harrower, ColorBrewer 2.0
License: Apache-2.0
Source: https://colorbrewer2.org/
Tags: diverging, colorbrewer, rainbow-like
Stops: 256

## Summary

Spectral is a diverging colormap from colorbrewer. Two arms meet at a pivot of lightness 0.98, hue sweeps 281° from red to violet, and order holds under all three colorblind simulations.

ColorBrewer 2.0 diverging 'Spectral' (11-class anchors).

## Perceptual profile (OKLCh)

- Lightness: 0.449 → 0.484 (range 0.535, min 0.449, max 0.984); non-monotonic; midpoint 0.984
- Chroma: min 0.082, max 0.186, mean 0.123
- Hue: 7.8° → 289.0° (span 281.2°), path monotonic-cw; quadrants: red, orange, yellow, chartreuse, green, mint, cyan, azure, blue, violet
- Pivot: t 0.502, lightness 0.984, hue jump 6.2°, smoothness 0.509
- Endpoint temperature: warm → cool
- Perceptual ΔE: total 174.6, mean/step 0.684, max step 1.430, smoothness 0.577, speed 0.684

## Colorblind safety (ΔE under simulated CVD)

- Protanopia: ΔE total 149.3; preserves order: yes
- Deuteranopia: ΔE total 132.2; preserves order: yes
- Tritanopia: ΔE total 147.2; preserves order: yes

## Related

- Family: [colorbrewer](https://colorcurio.us/colormaps/families/colorbrewer)
- Source: [Cynthia Brewer & Mark Harrower, ColorBrewer 2.0](https://colorbrewer2.org/)
- Similar diverging maps: [BrBG](https://colorcurio.us/colormaps/colorbrewer.BrBG), [PiYG](https://colorcurio.us/colormaps/colorbrewer.PiYG), [PRGn](https://colorcurio.us/colormaps/colorbrewer.PRGn), [PuOr](https://colorcurio.us/colormaps/colorbrewer.PuOr), [RdBu](https://colorcurio.us/colormaps/colorbrewer.RdBu), [RdGy](https://colorcurio.us/colormaps/colorbrewer.RdGy), [RdYlBu](https://colorcurio.us/colormaps/colorbrewer.RdYlBu), [RdYlGn](https://colorcurio.us/colormaps/colorbrewer.RdYlGn)
- [All colormaps](https://colorcurio.us/colormaps)
