Skip to content

Some ways for colorizing the text in different operating system.

License

Notifications You must be signed in to change notification settings

BaseMax/ColorizeText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColorizeText

Some ways for colorizing the text in different operating system.

Red='\033[0;31m' 
Black='\033[0;30m'     
Dark_Gray='\033[1;30m'    
Light_Red='\033[1;31m'
Green='\033[0;32m'     
Light_Green='\033[1;32m'
Brown_Orange='\033[0;33m'     
Yellow='\033[1;33m'
Blue='\033[0;34m'     
Light_Blue='\033[1;34m'
Purple='\033[0;35m'     
Light_Purple='\033[1;35m'
Cyan='\033[0;36m'     
Light_Cyan='\033[1;36m'
Light_Gray='\033[0;37m'     
White='\033[1;37m'
std::cout << "\033[0;31mError.\n"

Colors Table

Code Color
[0;31m Red
[1;31m Bold Red
[0;32m Green
[1;32m Bold Green
[0;33m Yellow
[01;33m Bold Yellow
[0;34m Blue
[1;34m Bold Blue
[0;35m Magenta
[1;35m Bold Magenta
[0;36m Cyan
[1;36m Bold Cyan
[0m Reset
Color Value
BLACK 0
BLUE 1
GREEN 2
CYAN 3
RED 4
MAGENTA 5
BROWN 6
LIGHTGRAY 7
DARKGRAY 8
LIGHTBLUE 9
LIGHTGREEN 10
LIGHTCYAN 11
LIGHTRED 12
LIGHTMAGENTA 13
YELLOW 14
WHITE 15

Similar Projects

Similar Articles

About

Some ways for colorizing the text in different operating system.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages