Rainbow

A crate for simplifying colorful text in rust.

Examples

Write with Background color

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

Write with Foreground color

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