CppTools
Loading...
Searching...
No Matches
OutputColor.hpp
Go to the documentation of this file.
1
9#ifndef CPP_TOOLS_OUTPUT_COLOR
10#define CPP_TOOLS_OUTPUT_COLOR
11
12#include <string>
13
15namespace CppTools
16{
18 const std::string COLOR_RESET = "\033[0m";
20 const std::string COLOR_BLACK = "\033[30m";
22 const std::string COLOR_RED ="\033[31m";
24 const std::string COLOR_GREEN = "\033[32m";
26 const std::string COLOR_YELLOW = "\033[33m";
28 const std::string COLOR_BLUE = "\033[34m";
30 const std::string COLOR_MAGENTA = "\033[35m";
32 const std::string COLOR_CYAN = "\033[36m";
34 const std::string COLOR_WHITE = "\033[37m";
35
37 const std::string COLOR_BOLD_BLACK = "\033[1m\033[30m";
39 const std::string COLOR_BOLD_RED = "\033[1m\033[31m";
41 const std::string COLOR_BOLD_GREEN = "\033[1m\033[32m";
43 const std::string COLOR_BOLD_YELLOW = "\033[1m\033[33m";
45 const std::string COLOR_BOLD_BLUE = "\033[1m\033[34m";
47 const std::string COLOR_BOLD_MAGENTA = "\033[1m\033[35m";
49 const std::string COLOR_BOLD_CYAN = "\033[1m\033[36m";
51 const std::string COLOR_BOLD_WHITE = "\033[1m\033[37m";
52}
53
54#endif /* CPP_TOOLS_OUTPUT_COLOR */
const std::string COLOR_BOLD_BLUE
bold blue text
Definition OutputColor.hpp:45
const std::string COLOR_BOLD_RED
bold red text
Definition OutputColor.hpp:39
const std::string COLOR_MAGENTA
magenta text
Definition OutputColor.hpp:30
const std::string COLOR_BLACK
black text
Definition OutputColor.hpp:20
const std::string COLOR_YELLOW
yellow text
Definition OutputColor.hpp:26
const std::string COLOR_RED
red text
Definition OutputColor.hpp:22
const std::string COLOR_CYAN
cyan text
Definition OutputColor.hpp:32
const std::string COLOR_BOLD_MAGENTA
bold magenta text
Definition OutputColor.hpp:47
const std::string COLOR_BOLD_YELLOW
bold yellow text
Definition OutputColor.hpp:43
const std::string COLOR_WHITE
white text
Definition OutputColor.hpp:34
const std::string COLOR_RESET
default color in terminal (aka white)
Definition OutputColor.hpp:18
const std::string COLOR_BOLD_BLACK
bold black text
Definition OutputColor.hpp:37
const std::string COLOR_BOLD_WHITE
bold white text
Definition OutputColor.hpp:51
const std::string COLOR_GREEN
green text
Definition OutputColor.hpp:24
const std::string COLOR_BLUE
blue text
Definition OutputColor.hpp:28
const std::string COLOR_BOLD_CYAN
bold cyan text
Definition OutputColor.hpp:49
const std::string COLOR_BOLD_GREEN
bold green text
Definition OutputColor.hpp:41