|
| 1 | +// Header File with all ANSI Colors as Macros |
| 2 | + |
| 3 | +#pragma once |
| 4 | + |
| 5 | +#define END "\x1b[0m" |
| 6 | +#define BOLD "\x1b[1m" |
| 7 | +#define ITALIC "\x1b[3m" |
| 8 | +#define UNDERLINED "\x1b[4m" |
| 9 | + |
| 10 | +#define REVERSE_TEXT "\x1b[7m" |
| 11 | + |
| 12 | +#define NOT_UNDERLINED "\x1b[24m" |
| 13 | + |
| 14 | +#define POSITIVE_TEXT "\x1b[27m" |
| 15 | + |
| 16 | +#define BLACK "\x1b[30m" |
| 17 | +#define RED "\x1b[31m" |
| 18 | +#define GREEN "\x1b[32m" |
| 19 | +#define YELLOW "\x1b[33m" |
| 20 | +#define BLUE "\x1b[34m" |
| 21 | +#define PURPLE "\x1b[35m" |
| 22 | +#define CYAN "\x1b[36m" |
| 23 | +#define WHITE "\x1b[37m" |
| 24 | + |
| 25 | +#define BG_BLACK "\x1b[40m" |
| 26 | +#define BG_RED "\x1b[41m" |
| 27 | +#define BG_GREEN "\x1b[42m" |
| 28 | +#define BG_YELLOW "\x1b[43m" |
| 29 | +#define BG_BLUE "\x1b[44m" |
| 30 | +#define BG_PURPLE "\x1b[45m" |
| 31 | +#define BG_CYAN "\x1b[46m" |
| 32 | +#define BG_WHITE "\x1b[47m" |
| 33 | + |
| 34 | +#define BRIGHT_BLACK "\x1b[90m" |
| 35 | +#define BRIGHT_RED "\x1b[91m" |
| 36 | +#define BRIGHT_GREEM "\x1b[92m" |
| 37 | +#define BRIGHT_YELLOW "\x1b[93m" |
| 38 | +#define BRIGHT_BLUE "\x1b[94m" |
| 39 | +#define BRIGHT_PURLPE "\x1b[95m" |
| 40 | +#define BRIGHT_CYAN "\x1b[96m" |
| 41 | +#define BRIGHT_WHITE "\x1b[97m" |
| 42 | + |
| 43 | +#define BG_BRIGHT_BLACK "\x1b[100m" |
| 44 | +#define BG_BRIGHT_RED "\x1b[101m" |
| 45 | +#define BG_BRIGHT_GREEM "\x1b[102m" |
| 46 | +#define BG_BRIGHT_YELLOW "\x1b[103m" |
| 47 | +#define BG_BRIGHT_BLUE "\x1b[104m" |
| 48 | +#define BG_BRIGHT_PURLPE "\x1b[105m" |
| 49 | +#define BG_BRIGHT_CYAN "\x1b[106m" |
| 50 | +#define BG_BRIGHT_WHITE "\x1b[107m" |
0 commit comments