tint
Color creation and manipulation in rust
Usage
Add this to your Cargo.toml
:
[]
= "1.0.0"
and this to your crate root:
extern crate tint;
Example
extern crate tint;
use Color;
Color names
Basic and Extended Colors from W3C and SVG are supported, along with colors from the XKCD color database through tint::xkcd().
Name | Color |
---|---|
Black | |
Silver | |
Gray | |
White | |
Maroon | |
Red | |
Purple | |
Fuchsia | |
Green | |
Lime | |
Olive | |
Yellow | |
Navy | |
Blue | |
Teal | |
Aqua |