c colour

Solutions on MaxInterview for c colour by the best coders in the world

showing results for - "c colour"
Erika
04 Aug 2016
1// F: Forground; B: Background; UL: Underline
2char* F_RED = "\033[0;31m";
3char* F_GREEN = "\033[0;32m";
4char* F_YELLOW = "\033[0;33m";
5char* F_BLUE = "\033[0;34m";
6
7char* B_RED = "\033[0;41m";
8char* B_GREEN = "\033[0;42m";
9char* B_YELLOW = "\033[0;43m";
10char* B_BLUE = "\033[0;44m";
11
12char* UL_N = "\033[4;0m"; /*Underline with no colour*/
13char* UL_F_RED = "\033[4;31m"; /*Underline in red*/
14char* UL_F_GREEN = "\033[4;32m"; /*Underline in green*/
15char* UL_F_YELLOW = "\033[4;33m"; /*Underline in yellow*/
16char* UL_F_BLUE = "\033[4;34m"; /*Underline in yellow*/
17
18char* RMF = "\033[0;00m"; /*Remove formatting & colours*/