Colors & Colormaps
polarise ships with a curated set of built-in colors and colormaps that work with no additional dependencies. Built-in colormaps cover sequential and divergent use cases and are sourced directly from authoritative cpt-city files for pixel-accurate color reproduction.
When popular visualization packages are installed, polarise seamlessly extends its colormap support to their full collections — including matplotlib, cmcrameri (Fabio Crameri's Scientific Colour Maps), colorcet (Peter Kovesi's ColorCET), and colorspace (HCL-based perceptually uniform palettes).
Any colormap — whether built-in or from an optional package — can be reversed by appending _r to its name. For example, nuuk_r reverses the nuuk colormap from cmcrameri, and CET_L19_r reverses the built-in CET_L19.
Colors are available as named strings in any fill= or color= parameter. Colormaps are available in any cmap= parameter.
Fixed Colors
IBM Carbon Alerts
Status and alert colors from IBM Carbon Design System
CSS Standard
Standard CSS/web colors, organized by color family
Reds & Yellows
Blues & Greens
Purples & Pinks
Greys
Colormaps
built-in · selected from cmcrameri
built-in · selected from colorcet
built-in · selected from matplotlib
built-in · selected from Diane Simoni
Custom Single-Hue
Sources & References
| Source | Type | Colormaps |
|---|---|---|
| Fabio Crameri (v8.0.1) | Sequential | hawaii, acton, nuuk, lipari, davos, buda |
| Fabio Crameri (v8.0.1) | Divergent | vik, managua |
| Peter Kovesi / ColorCET | Sequential | CET_L17, CET_L19, CET_L20 |
| Peter Kovesi / ColorCET | Divergent | CET_D11, CET_D12, CET_I3 |
| matplotlib | Sequential | viridis, plasma |
| Custom single-hue | Sequential | grays, reds, blues, greens |
| Diane Simoni | Sequential | orange-to-purple |
Scientific colour maps by Fabio Crameri — MIT license
https://www.fabiocrameri.ch/colourmaps/
Perceptually uniform sequential and diverging colormaps, sourced from cpt-city.
ColorCET by Peter Kovesi — CC BY 4.0
https://colorcet.com/
Perceptually uniform colormaps, sourced from cpt-city.
matplotlib — Hunter, J. D. (2007). Matplotlib: A 2D graphics environment.
Perceptually uniform sequential colormaps: viridis, plasma.
IBM Carbon Design System — Alert/status colors
https://carbondesignsystem.com/