Expand description
Color managemement.
§Example
use sl_console::color;
println!("{}Red", color::Fg(color::Red));
println!("{}Blue", color::Fg(color::Blue));
println!("{}Back again", color::Fg(color::Reset));
Structs§
- An arbitrary ANSI color value.
- A background color.
- Black.
- Blue.
- Cyan.
- A foreground color.
- Green.
- High-intensity light black.
- High-intensity light blue.
- High-intensity light cyan.
- High-intensity light green.
- High-intensity light magenta.
- High-intensity light red.
- High-intensity light white.
- High-intensity light yellow.
- Magenta.
- Red.
- Reset colors to defaults.
- A truecolor RGB.
- White.
- Yellow.
Traits§
- A terminal color.