colorconv
This crate provides some features to convert color code, RGB or color name(if
exists) to struct Color which holds the color information.
What makes this crate (kind of) unique is that it supports the color name conversion. For example:
use Color;
use FromStr;
match from_str
This conversion is based on https://github.com/jonathantneal/color-names.
Also, you can convert a color code or RGB:
use Color;
use FromStr;
if let Ok = from_str
let true_blue = from;
assert_eq!;