kokizzu / elm-visualization / Scale.Color

We provide sequential and categorical color schemes designed to work with ordinal and sequential scales. Color types come from avh4/elm-color.

Categorical

category10 : List Color

category10

A list of ten categorical colors

tableau10 : List Color

category10

A list of ten categorical colors

Sequential (Multi-hue)

viridisInterpolator : Basics.Float -> Color

Viridis

Given a number t in the range [0,1], returns the corresponding color from the “viridis” perceptually-uniform color scheme designed by van der Walt, Smith and Firing for matplotlib.

infernoInterpolator : Basics.Float -> Color

Inferno

Given a number t in the range [0,1], returns the corresponding color from the “inferno” perceptually-uniform color scheme designed by van der Walt, Smith and Firing for matplotlib.

magmaInterpolator : Basics.Float -> Color

magma

Given a number t in the range [0,1], returns the corresponding color from the “magma” perceptually-uniform color scheme designed by van der Walt, Smith and Firing for matplotlib,.

plasmaInterpolator : Basics.Float -> Color

Plasma

Given a number t in the range [0,1], returns the corresponding color from the “plasma” perceptually-uniform color scheme designed by van der Walt, Smith and Firing for matplotlib.