Color Gradients

Overview

A number of pre-defined color gradients are available for gempa modules. These gradients can be used when displaying color-coded values such as grids, spectrograms or heat-maps. The following is an overview of pre-defined gradients along with the name of the gradient which can be used in configurations. The gradients are grouped into:

List of Gradients

Full spectrum

Gradients that use the full spectrum of colors.

Default

  • Configuration name: Default

overview of the Default color-gradient
example spectrogram using the Default gradient

Figure 12: Example spectrogram using the “Default” color-gradient.

Spectrum

  • Configuration name: Spectrum

overview of the Spectrum color-gradient
example spectrogram using the Spectrum gradient

Figure 14: Example spectrogram using the “Spectrum” color-gradient.

Circle

  • Configuration name: Circle

overview of the Circle color-gradient
example spectrogram using the Circle gradient

Figure 16: Example spectrogram using the “Circle” color-gradient.

Dark to yellow

Gradients optically resembling fire with increased energy beeing displayed by bright yellow tones.

BlackBody

  • Configuration name: BlackBody

overview of the BlackBody color-gradient
example spectrogram using the BlackBody gradient

Figure 18: Example spectrogram using the “BlackBody” color-gradient.

Inferno

  • Configuration name: Inferno

overview of the Inferno color-gradient
example spectrogram using the Inferno gradient

Figure 20: Example spectrogram using the “Inferno” color-gradient.

Plasma

  • Configuration name: Plasma

overview of the Plasma color-gradient
example spectrogram using the Plasma gradient

Figure 22: Example spectrogram using the “Plasma” color-gradient.

Black and white

For a maximum contrast there are these two gradients that just use black and white.

BlackWhite

  • Configuration name: BlackWhite

overview of the BlackWhite color-gradient
example spectrogram using the BlackWhite gradient

Figure 24: Example spectrogram using the “BlackWhite” color-gradient.

WhiteBlack

  • Configuration name: WhiteBlack

overview of the WhiteBlack color-gradient
example spectrogram using the WhiteBlack gradient

Figure 26: Example spectrogram using the “WhiteBlack” color-gradient.

Single color

The single color gradients have the same benefit as the black and white gradients and are of a high contrast.

BluePurple

  • Configuration name: BuPu

overview of the BluePurple color-gradient
example spectrogram using the BluePurple gradient

Figure 28: Example spectrogram using the “BluePurple” color-gradient.

Blues

  • Configuration name: Blues

overview of the Blues color-gradient
example spectrogram using the Blues gradient

Figure 30: Example spectrogram using the “Blues” color-gradient.

PurpleRed

  • Configuration name: PuRd

overview of the PurpleRed color-gradient
example spectrogram using the PurpleRed gradient

Figure 32: Example spectrogram using the “PurpleRed” color-gradient.

Three color

Gradients allowing to distinguish more details than single colored.

RedYellowBlue

  • Configuration name: RdYlBu

overview of the RedYellowBlue color-gradient
example spectrogram using the RedYellowBlue gradient

Figure 34: Example spectrogram using the “RedYellowBlue” color-gradient.

Parula

  • Configuration name: Parula

overview of the Parula color-gradient
example spectrogram using the Parula gradient

Figure 36: Example spectrogram using the “Parula” color-gradient.

Viridis

  • Configuration name: Viridis

overview of the Viridis color-gradient
example spectrogram using the Viridis gradient

Figure 38: Example spectrogram using the “Viridis” color-gradient.