Module termion::color

source ·
Expand description

Color managemement.

§Example

use termion::color;

fn main() {
    println!("{}Red", color::Fg(color::Red));
    println!("{}Blue", color::Fg(color::Blue));
    println!("{}Back again", color::Fg(color::Reset));
}

Structs§

Traits§

  • A terminal color.
  • Types that allow detection of the colors they support.