|
||
---|---|---|
README.md | ||
colors.hpp |
README.md
Colors
Simple C++ library to add colors to your text.
How to use
Here is an example of C++ code using it.
#include "colors.hpp"
#include <iostream>
int main(int argc, char *argv[]) {
color::red("This is red text.\n");
}
And that will make Red
Text.
Plus, the namespace, bolcolor
will make the text bold.
Also, the namespace, baccolor
will highlight the background.
Colors
The colors are:
red
green
yellow
blue
magenta
cyan
white
grey
(for bright colors, it's labeled as bri~. EX: brired = Bright Red)
Bright red
Bright green
Bright yellow
Bright blue
Bright magenta
Bright cyan