Beautiful terminal color
Add this in your Cargo.toml
:
toml
[dependencies]
bright = "0.1.0"
```rust use bright::*;
fn main() { println!("{}", "Hello world".red().bold().bg_green()); } ```
.bold()
.dim()
.italic()
.underline()
.slow_blink()
.fast_blink()
.invert()
.hidden()
.cross_out()
.black()
.red()
.green()
.yellow()
.blue()
.magenta()
.cyan()
.white()
.bg_black()
.bg_red()
.bg_green()
.bg_yellow()
.bg_blue()
.bg_magenta()
.bg_cyan()
.bg_white()