gtabler/color

Functions to colorize text in the terminal with ANSI escape codes.

Functions

pub fn blue(text: String) -> String

Blue text color

pub fn cyan(text: String) -> String

Cyan text color

pub fn green(text: String) -> String

Green text color

pub fn magenta(text: String) -> String

Magenta text color

pub fn red(text: String) -> String

Red text color

pub fn white(text: String) -> String

White text color

pub fn yellow(text: String) -> String

Yellow text color

Search Document