Colormaps

Overview

DRC-branded Matplotlib colormaps.

Available Colormaps

  • drc_palette and drc_palette_r

  • drc_diverging and drc_diverging_r

  • drc_dark_diverging and drc_dark_diverging_r

  • drc_cool and drc_cool_r

  • drc_warm and drc_warm_r

Quick Start

import matplotlib.pyplot as plt
from drcutils.brand.colormaps import drc_diverging, drc_palette

plt.imshow([[0, 1], [2, 3]], cmap=drc_diverging)
plt.figure()
plt.imshow([[0, 1], [2, 3]], cmap=drc_palette)
plt.show()

Visual Previews

drc_palette

Preview of drc_palette colormap.

drc_palette_r

Preview of drc_palette_r colormap.

drc_diverging

Preview of drc_diverging colormap.

drc_diverging_r

Preview of drc_diverging_r colormap.

drc_dark_diverging

Preview of drc_dark_diverging colormap.

drc_dark_diverging_r

Preview of drc_dark_diverging_r colormap.

drc_cool

Preview of drc_cool colormap.

drc_cool_r

Preview of drc_cool_r colormap.

drc_warm

Preview of drc_warm colormap.

drc_warm_r

Preview of drc_warm_r colormap.

API Reference

Matplotlib colormaps derived from DRC brand colors.

drcutils.brand.colormaps.drc_cool = 'drc_cool'

Cool gradient from white to black through blue/teal tones.

drcutils.brand.colormaps.drc_dark_diverging = 'drc_dark_diverging'

Diverging colormap with a dark center.

drcutils.brand.colormaps.drc_diverging = 'drc_diverging'

Diverging colormap with white center.

drcutils.brand.colormaps.drc_palette = ['#000000', '#1A4C49', '#4D8687', '#57B7BA', '#EA8534', '#DF5127']

Listed colormap in canonical DRC palette order.

drcutils.brand.colormaps.drc_warm = 'drc_warm'

Warm gradient from white to black through orange/red tones.