Expand description
§Chromatic
Chromatic
is a simple library for building and sampling colour maps.
Macros§
- impl_
transparent_ colour - Macro to implement the
Colour
trait for transparent colour types. - impl_
transparent_ convert - Macro to implement the
Convert
trait for transparent colour types. - impl_
transparent_ display - Macro to implement
Display
for transparent colour types.
Structs§
- Colour
Map - A map of colours with uniform spacing, allowing interpolation between them.
- Grey
- Monochrome colour.
- Grey
Alpha - Grey with alpha channel.
- Hsl
- HSL colour representation.
- HslAlpha
- HSL with alpha channel.
- Hsv
- HSV colour representation.
- HsvAlpha
- HSV with alpha channel.
- Lab
- LAB colour representation.
- LabAlpha
- Lab with alpha channel.
- Rgb
- RGB colour representation.
- RgbAlpha
- RGB with alpha channel.
- Srgb
- sRGB colour representation.
- Srgb
Alpha - sRGB with alpha channel.
- Xyz
- XYZ colour representation.
- XyzAlpha
- XYZ with alpha channel.
Enums§
- Parse
Colour Error - Error parsing
Colour
s from string.