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

Example spectrogram using the “Default” color-gradient.

Spectrum

  • Configuration name: Spectrum

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

Example spectrogram using the “Spectrum” color-gradient.

Circle

  • Configuration name: Circle

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

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

Example spectrogram using the “BlackBody” color-gradient.

Inferno

  • Configuration name: Inferno

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

Example spectrogram using the “Inferno” color-gradient.

Plasma

  • Configuration name: Plasma

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

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

Example spectrogram using the “BlackWhite” color-gradient.

WhiteBlack

  • Configuration name: WhiteBlack

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

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

Example spectrogram using the “BluePurple” color-gradient.

Blues

  • Configuration name: Blues

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

Example spectrogram using the “Blues” color-gradient.

PurpleRed

  • Configuration name: PuRd

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

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

Example spectrogram using the “RedYellowBlue” color-gradient.

Parula

  • Configuration name: Parula

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

Example spectrogram using the “Parula” color-gradient.

Viridis

  • Configuration name: Viridis

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

Example spectrogram using the “Viridis” color-gradient.