Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c colour

// F: Forground; B: Background; UL: Underline
char* F_RED = "33[0;31m";
char* F_GREEN = "33[0;32m";
char* F_YELLOW = "33[0;33m";
char* F_BLUE = "33[0;34m";

char* B_RED = "33[0;41m";
char* B_GREEN = "33[0;42m";
char* B_YELLOW = "33[0;43m";
char* B_BLUE = "33[0;44m";

char* UL_N = "33[4;0m"; /*Underline with no colour*/
char* UL_F_RED = "33[4;31m"; /*Underline in red*/
char* UL_F_GREEN = "33[4;32m"; /*Underline in green*/
char* UL_F_YELLOW = "33[4;33m"; /*Underline in yellow*/
char* UL_F_BLUE = "33[4;34m"; /*Underline in yellow*/

char* RMF = "33[0;00m"; /*Remove formatting & colours*/
 
PREVIOUS NEXT
Tagged: #colour
ADD COMMENT
Topic
Name
2+5 =