phony 0.1.2

generates phony data
Documentation
  • Coverage
  • 16.67%
    2 out of 12 items documented0 out of 7 items with examples
  • Size
  • Source code size: 21.65 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.87 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ltoddy

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());
}