use ansi_term::Colour;
      
      fn main() {
        println!("This is {} in color, {} in color and {} in color",
          Colour::Red.paint("red"),
          Colour::Blue.paint("blue"),
          Colour::Green.paint("green"));
      }
      

      Rust language logo
      Print text terminal

      Codiga's Rust Recipes

      colored text in terminal

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.