Last active
January 15, 2016 16:53
-
-
Save awesomebytes/82586cb17a0dc40e27d0 to your computer and use it in GitHub Desktop.
Color codes for printing in terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BLUE = '\033[94m' | |
| GREEN = '\033[92m' | |
| YELLOW = '\033[93m' | |
| RED = '\033[91m' | |
| ENDCOLOR = '\033[0m' | |
| print BLUE + "blue text " + GREEN + "green text" + ENDCOLOR | |
| print YELLOW + "orange text " + RED + "red text" + ENDCOLOR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment