pub trait ColorAddonExtensions {
    fn from_hsv(hue: f32, saturation: f32, value: f32) -> Color { ... }
    fn from_hsl(hue: f32, saturation: f32, lightness: f32) -> Color { ... }
    fn from_css_name(name: &str) -> Color { ... }
    fn from_cmyk(cyan: f32, magenta: f32, yellow: f32, key: f32) -> Color { ... }
    fn from_yuv(y: f32, u: f32, v: f32) -> Color { ... }
    fn from_html_hex(html_hex: &str) -> Color { ... }
    fn to_hsv(&self) -> (f32, f32, f32) { ... }
    fn to_hsl(&self) -> (f32, f32, f32) { ... }
    fn to_css_name(&self) -> String { ... }
    fn to_cmyk(&self) -> (f32, f32, f32, f32) { ... }
    fn to_yuv(&self) -> (f32, f32, f32) { ... }
}

Provided Methods§

Implementations on Foreign Types§

Implementors§