Expand description
A simple library for reading hex colors.
Functionsยง
- char_
to_ hex - Converts a character into a u8 value.
- hex
- Reads a hex value from an iterator of characters.
- hex_
pair - Reads a pair of hex values, joining them in value range 0-255.
- rgb
- Reads RGB colors from iterator of characters.
- rgb_
maybe_ a - Reads RGB with optional alpha from iterator of characters.
- rgba
- Reads RGBA colors from iterator of characters.