pub const RED_FG: &str = "\u{1b}[91m";Expand description
Set the foreground color to red (bright red).
Equivalent to CSI 9 1 m
Foreground color can be reset with RESET_FG or RESET. Note that
RESET will also reset all text modes.
§Example
use termal_core::codes;
let mut buf = codes::CLEAR.to_string();
buf += "normal";
buf += codes::RED_FG;
buf += " red";
buf += codes::RED_DARK_FG;
buf += " dark\n";
buf += codes::RESET_FG;
buf += codes::FAINT;
buf += "faint ";
buf += codes::RED_FG;
buf += " red";
buf += codes::RED_DARK_FG;
buf += " dark";
buf += codes::RESET;
println!("{buf}");§Result in terminal
