colorsys 0.7.3

A module for color conversion and mutation. Works with RGB(a)( as hexadecimal too), HSL(a), CMYK color models and with ANSI color codes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
mod hex_to_rgb;
mod hsl_to_rgb;
mod rgb_to_hex;
mod rgb_to_hsl;
mod rgb_cmyk;

pub(crate) use hex_to_rgb::hex_to_rgb;
pub(crate) use hsl_to_rgb::hsl_to_rgb;
pub(crate) use rgb_to_hex::rgb_to_hex;
pub(crate) use rgb_to_hex::rgb_to_hexa;
pub(crate) use rgb_to_hsl::rgb_to_hsl;
pub(crate) use rgb_cmyk::{rgb_to_cmyk, cmyk_to_rgb};