Expand description
Color schemes and gradients.
This create provides the color schemes by Cynthia
Brewer and Matplotlib colormaps as well
as gradients build from them (or from your own colors). The
default representation of colors is the one given by the rgb
crate but any type can be used: it suffices it implements the
RGBColor trait.
Structs§
- Gradient
- Gradient between two colors.
- Hue
- Hue
- Palette
- Palette
Find - Set criteria to find matching palettes.
- Palette
Gradient - A gradient based on a
Palette. - Palette
Iter - An exact size iterator over
Palettes. - Range
- An iterator yielding
f64in a given range together with colors.
Enums§
- Palette
Type - Type of Palette.
- Trivalent
- Trivalent logic.
Traits§
- Color
Range - A “continuous” range of colors parametrized by reals in [0, 1].
- RGBColor
- Specifies the methods a RGB color encoding must provide.