[−][src]Crate colorsys
A module for color conversion, mutation, modification. For now works with RGB(a)( as hexadecimal too), HSL(a) color models
Modules
prelude | |
ratio_converters |
Structs
Hsl | The HSL or HSI (hue, saturation, lightness (intensity)) color model |
HslRatio | Hsl representation as ratio (from |
ParseError | |
Rgb | The RGB color model. |
RgbRatio | Rgb representation as ratio (from |
Enums
GrayScaleMethod | |
SaturationInSpace |
Statics
DEFAULT_APPROX_EQ_PRECISION | Default precision used for color comparison.
It is |
Traits
ApproxEq | Methods to compare two colors |
ColorAlpha | Methods to work with alpha channel in color. |
ColorTransform | A collection of methods to some special modification of color. Some methods (like saturate, lighten, etc.) requires (inside implementation) converting to another color space and vice versa. |
Type Definitions
ColorTuple | Use to transfer nad collect color values.
May be for example |
ColorTupleA | For example |