Skip to content

cmocean:balance#

The balance colormap is diverging with dark blue to off-white to dark red representing negative to zero to positive values; this could be used to represent sea surface elevation, with deviations in the surface elevations as shades of color away from neutral off-white. In this case, shades of red have been chosen to represent sea surface elevation above the reference value (often mean sea level) to connect with warmer water typically being associated with an increase in the free surface, such as with the Loop Current in the Gulf of Mexico. An example of this colormap is from a numerical simulation of the Texas and Louisiana shelf. This colormap is based on RdBu, but was recreated from scratch using the viscm tool.

category license authors source
Diverging MIT https://github.com/matplotlib/cmocean
from cmap import Colormap

cm = Colormap('cmocean:balance')  # case insensitive

cmocean:balance
cmocean:balance colormap
cmocean:balance colormap

Perceptual Lightness#

L* measured in CAM02 Uniform Color Space (CAM02-UCS)

RGB components#

Hue & Saturation#