# Rainbow (Plotly)

Canonical URL: https://colorcurio.us/colormaps/plotly.rainbow
Source type: Colormap
Type: sequential
Collection: plotly
Attribution: plotly.js / plotly.py contributors
License: MIT
Source: https://github.com/plotly/plotly.py/blob/main/_plotly_utils/colors/plotlyjs.py
Tags: rainbow
Stops: 256

## Summary

Rainbow (Plotly) is a sequential colormap from plotly. Lightness spans 0.35–0.92, hue sweeps 324° from rose to red, and order breaks under protan, deutan, and tritan simulation.

Plotly 9-anchor rainbow.

## Perceptual profile (OKLCh)

- Lightness: 0.441 → 0.628 (range 0.575, min 0.349, max 0.924); non-monotonic; midpoint 0.878
- Chroma: min 0.126, max 0.306, mean 0.222
- Hue: 353.7° → 29.2° (span 324.4°), path monotonic-ccw; quadrants: rose, magenta, violet, blue, azure, cyan, mint, green, chartreuse, yellow, orange, red
- Endpoint temperature: warm → warm
- Perceptual ΔE: total 228.1, mean/step 0.894, max step 2.432, smoothness 0.377, speed 0.894

## Colorblind safety (ΔE under simulated CVD)

- Protanopia: ΔE total 167.3; preserves order: no
- Deuteranopia: ΔE total 166.6; preserves order: no
- Tritanopia: ΔE total 214.5; preserves order: no

## Related

- Family: [plotly](https://colorcurio.us/colormaps/families/plotly)
- Source: [plotly.js / plotly.py contributors](https://github.com/plotly/plotly.py/blob/main/_plotly_utils/colors/plotlyjs.py)
- Similar sequential maps: [Blackbody (Plotly)](https://colorcurio.us/colormaps/plotly.blackbody), [Earth (Plotly)](https://colorcurio.us/colormaps/plotly.earth), [Electric](https://colorcurio.us/colormaps/plotly.electric), [Jet](https://colorcurio.us/colormaps/plotly.jet), [Plotly3](https://colorcurio.us/colormaps/plotly.plotly3), [Portland](https://colorcurio.us/colormaps/plotly.portland)
- [All colormaps](https://colorcurio.us/colormaps)
