[][src]Function nannou::color::named::from_str

pub fn from_str(name: &str) -> Option<Rgb<Srgb, u8>>

Get a SVG/CSS3 color by name. Can be toggled with the "named_from_str" Cargo feature.

The names are the same as the constants, but lower case.