[−][src]Crate colors_transform
All color units is f32. Here are their ranges:
- red - 0.0 .. 255.0
- green - 0.0 .. 255.0
- blue - 0.0 .. 255.0
- hue - 0.0 .. 360.0
- saturation - 0.0 .. 100.0
- lightness - 0.0 .. 100.0
- alpha - 0.0 .. 1.0
If you specify a value that does not fit within these ranges, they are replaced with a minimum or maximum value.
Structs
| Hsl | |
| Hsla | |
| ParseError | |
| Rgb | |
| Rgba |
Enums
| RgbColor |
Traits
| AlphaColor | Some methods for working with alpha channel for Rgba & Hsla |
| Color | Common to all trait |
Type Definitions
| ColorTuple | |
| ColorTupleA |