pallete 1.1.0

Write text in rainbow colors
Documentation

Rainbow

A crate for simplifying colorful text in rust.

Examples

Write with Background color

use pallete::*;

fn main() -> std::io::Result<()> {
    pallete::println_bg!(pallete::Color::Red, "Pallete Red!")?;
    Ok(())
}

Write with Foreground color

fn main() -> std::io::Result<()> {
    pallete::println_fg!(pallete::Color::Red, "Pallete Red!")?;
    Ok(())
}