# BRG

Canonical URL: https://colorcurio.us/colormaps/matplotlib.brg
Source type: Colormap
Type: sequential
Collection: matplotlib
Attribution: matplotlib developers
License: matplotlib (BSD-derived)
Source: https://github.com/matplotlib/matplotlib/blob/main/lib/matplotlib/_cm.py
Tags: rainbow
Stops: 256

## Summary

BRG is a sequential colormap from matplotlib. Lightness spans 0.39–0.87, hue sweeps 238° from blue to green, and order breaks under protan, deutan, and tritan simulation.

Blue→red→green legacy ramp.

## Perceptual profile (OKLCh)

- Lightness: 0.452 → 0.866 (range 0.473, min 0.393, max 0.866); non-monotonic; midpoint 0.626
- Chroma: min 0.114, max 0.313, mean 0.213
- Hue: 264.1° → 142.5° (span 238.4°), path monotonic-cw; quadrants: blue, violet, magenta, rose, red, orange, yellow, chartreuse, green
- Endpoint temperature: cool → warm
- Perceptual ΔE: total 161.9, mean/step 0.635, max step 1.442, smoothness 0.514, speed 0.635

## Colorblind safety (ΔE under simulated CVD)

- Protanopia: ΔE total 121.2; preserves order: no
- Deuteranopia: ΔE total 123.5; preserves order: no
- Tritanopia: ΔE total 187.6; preserves order: no

## Related

- Family: [matplotlib](https://colorcurio.us/colormaps/families/matplotlib)
- Source: [matplotlib developers](https://github.com/matplotlib/matplotlib/blob/main/lib/matplotlib/_cm.py)
- Similar sequential maps: [AFM Hot](https://colorcurio.us/colormaps/matplotlib.afmhot), [Bone](https://colorcurio.us/colormaps/matplotlib.bone), [Cividis](https://colorcurio.us/colormaps/matplotlib.cividis), [Copper](https://colorcurio.us/colormaps/matplotlib.copper), [Cubehelix](https://colorcurio.us/colormaps/matplotlib.cubehelix), [Gist Earth](https://colorcurio.us/colormaps/matplotlib.gist_earth), [Gist NCAR](https://colorcurio.us/colormaps/matplotlib.gist_ncar), [Gnuplot](https://colorcurio.us/colormaps/matplotlib.gnuplot)
- [All colormaps](https://colorcurio.us/colormaps)
