Old library I made to print colours, don't use it please. I keep it for old sakes
Go to file
0NeXt 6e71ec88df Update file README.md 2022-12-21 19:34:11 +00:00
README.md Update file README.md 2022-12-21 19:34:11 +00:00
colors.hpp colors.hpp 2022-12-08 10:00:30 +00:00

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