3 releases

0.1.2 Mar 23, 2019
0.1.1 Jan 31, 2019
0.1.0 Jan 27, 2019

#96 in #data

MIT license

21KB
434 lines

phony

Build Status Latest version Documentation

generates phony data

Color

extern crate phony;

use phony::Provider;

fn main() {
    let mut provide = Provider::new();

    println!("{}", provide.color.safe_color_name());
    println!("{}", provide.color.color_name());
    println!("{}", provide.color.hex_color());
    println!("{}", provide.color.safe_hex_color());
    println!("{}", provide.color.rgb_color());
    println!("{}", provide.color.rgb_css_color());
}

No runtime deps

ϕ\