50#define RGB_TEXT(r, g, b) "\x1b[38;2;" #r ";" #g ";" #b "m"
60#define RGB_BG(r, g, b) "\x1b[48;2;" #r ";" #g ";" #b "m"
82 std::ostream&
reset(std::ostream& stream);
96 std::ostream&
black(std::ostream& stream);
104 std::ostream&
red(std::ostream& stream);
112 std::ostream&
green(std::ostream& stream);
120 std::ostream&
yellow(std::ostream& stream);
128 std::ostream&
blue(std::ostream& stream);
136 std::ostream&
magenta(std::ostream& stream);
144 std::ostream&
cyan(std::ostream& stream);
152 std::ostream&
white(std::ostream& stream);
168 std::ostream&
brightRed(std::ostream& stream);
192 std::ostream&
brightBlue(std::ostream& stream);
208 std::ostream&
brightCyan(std::ostream& stream);
239 std::ostream&
brightRed(std::ostream& stream);
263 std::ostream&
brightBlue(std::ostream& stream);
271 std::ostream&
brightCyan(std::ostream& stream);
294 std::ostream&
bold(std::ostream& stream);
302 std::ostream&
dim(std::ostream& stream);
310 std::ostream&
underline(std::ostream& stream);
318 std::ostream&
blink(std::ostream& stream);
326 std::ostream&
reverse(std::ostream& stream);
334 std::ostream&
hidden(std::ostream& stream);
A namespace containing functions to set the background color in an output stream.
Definition colors.cpp:176
std::ostream & brightYellow(std::ostream &stream)
Set the background color to bright yellow.
Definition colors.cpp:198
std::ostream & brightGreen(std::ostream &stream)
Set the background color to bright green.
Definition colors.cpp:191
std::ostream & brightWhite(std::ostream &stream)
Set the background color to bright white.
Definition colors.cpp:219
std::ostream & brightBlack(std::ostream &stream)
Set the background color to bright black.
Definition colors.cpp:177
std::ostream & brightBlue(std::ostream &stream)
Set the background color to bright blue.
Definition colors.cpp:205
std::ostream & brightCyan(std::ostream &stream)
Set the background color to bright cyan.
Definition colors.cpp:212
std::ostream & brightRed(std::ostream &stream)
Set the background color to bright red.
Definition colors.cpp:184
A namespace containing functions to set the text color in an output stream.
Definition colors.cpp:61
std::ostream & brightWhite(std::ostream &stream)
Set the text color to bright white.
Definition colors.cpp:167
std::ostream & brightGreen(std::ostream &stream)
Set the text color to bright green.
Definition colors.cpp:132
std::ostream & white(std::ostream &stream)
Set the text color to white.
Definition colors.cpp:111
std::ostream & brightMagenta(std::ostream &stream)
Set the text color to bright magenta.
Definition colors.cpp:153
std::ostream & red(std::ostream &stream)
Set the text color to red.
Definition colors.cpp:69
std::ostream & brightCyan(std::ostream &stream)
Set the text color to bright cyan.
Definition colors.cpp:160
std::ostream & brightYellow(std::ostream &stream)
Set the text color to bright yellow.
Definition colors.cpp:139
std::ostream & brightBlack(std::ostream &stream)
Set the text color to bright black.
Definition colors.cpp:118
std::ostream & blue(std::ostream &stream)
Set the text color to blue.
Definition colors.cpp:90
std::ostream & cyan(std::ostream &stream)
Set the text color to cyan.
Definition colors.cpp:104
std::ostream & magenta(std::ostream &stream)
Set the text color to magenta.
Definition colors.cpp:97
std::ostream & green(std::ostream &stream)
Set the text color to green.
Definition colors.cpp:76
std::ostream & yellow(std::ostream &stream)
Set the text color to yellow.
Definition colors.cpp:83
std::ostream & brightRed(std::ostream &stream)
Set the text color to bright red.
Definition colors.cpp:125
std::ostream & brightBlue(std::ostream &stream)
Set the text color to bright blue.
Definition colors.cpp:146
std::ostream & black(std::ostream &stream)
Set the text color to black.
Definition colors.cpp:62
The namespace containing utility functions for the Steppable library.
Definition argParse.cpp:40
std::ostream & reset(std::ostream &stream)
Reset the text color and format to the default values.
Definition colors.cpp:53
bool isTerminal(const std::ostream &stream)
Check if the output stream is a terminal.
Definition colors.cpp:42