Terrain
Summary
Terrain is a sequential colormap from matplotlib. Lightness spans 0.39–1.00, hue sweeps 276° from violet to orange, and lightness order breaks under protan, deutan, and tritan simulation.
matplotlib default GIS ramp; blue→green→tan→white.
Perceptual profile (OKLCh)
- Lightness: 0.391 → 1.000 (range 0.609, min 0.391, max 1.000); non-monotonic; midpoint 0.976
- Chroma: min 0.000, max 0.197, mean 0.107
- Hue: 275.9° → 0.0° (span 275.9°), path monotonic-ccw; quadrants: violet, blue, azure, cyan, mint, green, chartreuse, yellow, orange
- Endpoint temperature: cool → null
- Perceptual ΔE: total 221.1, mean/step 0.867, max step 3.016, smoothness 0.401, speed 0.867
Colorblind safety (ΔE under simulated CVD)
- Protanopia: uniformity 0.26; ΔE total 198.3; lightness monotonic: no; turns at most once: no; weakest sixteenth ΔE 3.3
- Deuteranopia: uniformity 0.30; ΔE total 192.5; lightness monotonic: no; turns at most once: no; weakest sixteenth ΔE 3.8
- Tritanopia: uniformity 0.60; ΔE total 187.1; lightness monotonic: no; turns at most once: no; weakest sixteenth ΔE 3.1
Use cases
- Not recommended for Elevation (land only): matplotlib's legacy GIS ramp; measured lightness is non-monotonic and order breaks under all three CVD simulations.
- Not recommended for Combined topography and bathymetry: A single sequential ramp, not a two-part land/sea map; measured lightness non-monotonic and CVD order broken.
Data and citation
- Color stops (JSON, hex sRGB): /data/colormaps/matplotlib.terrain.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, Cubehelix, Gist Earth, Gist NCAR
- All colormaps