[−][src]Module bracket_color::prelude
Exports the color functions/types in the prelude
namespace.
Structs
AlphaLerp | Implements an Alpha-Only Lerp as an iterator |
ColorPair | Represents two colors together, a foreground and a background. |
HSV | Represents an H/S/V triplet, in the range 0..1 (32-bit float) |
HsvLerp | An HSV Lerp - transition from one HSV color to another in a set number of steps. |
RGB | Represents an R/G/B triplet, in the range 0..1 (32-bit float) |
RGBA | Represents an R/G/B triplet, in the range 0..1 (32-bit float) |
RgbLerp | Implements an RGB Lerp as an iterator |
RgbaLerp | Implements an RGBA Lerp as an iterator |
Enums
HtmlColorConversionError | Error message type when failing to convert a hex code to RGB. |