Cubehelix
Summary
Cubehelix is a sequential colormap from matplotlib. Lightness rises monotonically from 0.00 to 1.00, hue sweeps 360° from magenta to rose, and lightness stays monotonic under all three colorblind…
Dave Green 2011 astronomy ramp; black→bright.
Perceptual profile (OKLCh)
- Lightness: 0.000 → 1.000 (range 1.000, min 0.000, max 1.000); monotonic; midpoint 0.602
- Chroma: min 0.000, max 0.117, mean 0.069
- Hue: 0.0° → 0.0° (span 360.0°), path monotonic-ccw; quadrants: magenta, violet, blue, azure, cyan, mint, green, chartreuse, yellow, orange, red, rose
- Endpoint temperature: null → null
- Perceptual ΔE: total 209.6, mean/step 0.822, max step 1.326, smoothness 0.690, speed 0.822
Colorblind safety (ΔE under simulated CVD)
- Protanopia: uniformity 0.49; ΔE total 147.3; lightness monotonic: yes; turns at most once: yes; weakest sixteenth ΔE 2.9
- Deuteranopia: uniformity 0.53; ΔE total 141.3; lightness monotonic: yes; turns at most once: yes; weakest sixteenth ΔE 3.1
- Tritanopia: uniformity 0.43; ΔE total 174.8; lightness monotonic: yes; turns at most once: yes; weakest sixteenth ΔE 5.0
Use cases
- Recommended for Intensity on a dark background: Dave Green's 2011 astronomy ramp from black to bright; monotonic lightness.
Data and citation
- Color stops (JSON, hex sRGB): /data/colormaps/matplotlib.cubehelix.json
- License: matplotlib (BSD-derived) (https://matplotlib.org/stable/project/license.html)
Related
- Family: matplotlib
- Source: matplotlib developers
- Similar sequential maps: AFM Hot, Bone, BRG, Cividis, Copper, Gist Earth, Gist NCAR, Gnuplot
- All colormaps