Expand description
This crate contains representations of all of the major
Base16 themes.
Color representation is split into two parts, the universal base 16 color and the palette. A
color is represented by a Base16Color, which is then rendered into either a RGB tuple of
u8s or into a hex string.
Each collection of themes is gated by a feature flag to minimize the number of palettes you have to compile.
Lastly, this crate is fully no_std.
Modules§
Enums§
- Base16
Accent - Every Base16 color palette contains 8 “accents”.
- Base16
Color - The universal representation of a Base16 color palette.
- Base16
Shade - Every Base16 color palette contains 8 “shades”. These are split between 4 “dark” and 4 “light” shades.
- Palette
- A palette is used to render a
Base16Colorinto RBG values or a hex string. - Shade
- Base16 shades are split into two 4-value gradients.