Skip to content

Instantly share code, notes, and snippets.

@awesomebytes
Last active January 15, 2016 16:53
Show Gist options
  • Select an option

  • Save awesomebytes/82586cb17a0dc40e27d0 to your computer and use it in GitHub Desktop.

Select an option

Save awesomebytes/82586cb17a0dc40e27d0 to your computer and use it in GitHub Desktop.
Color codes for printing in terminal
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