1 extern crate ansi_term; 2 use ansi_term::Colour::*; 3 main()4fn main() { 5 println!("{}", Black.paint("Black")); 6 println!("{}", Red.paint("Red")); 7 println!("{}", Green.paint("Green")); 8 println!("{}", Yellow.paint("Yellow")); 9 println!("{}", Blue.paint("Blue")); 10 println!("{}", Purple.paint("Purple")); 11 println!("{}", Cyan.paint("Cyan")); 12 println!("{}", White.paint("White")); 13 } 14