Skip to content

Instantly share code, notes, and snippets.

@sdushantha
Created June 30, 2020 15:45
Show Gist options
  • Save sdushantha/d55fc4d4dc2a2b5a2c00d119c831cddd to your computer and use it in GitHub Desktop.
Save sdushantha/d55fc4d4dc2a2b5a2c00d119c831cddd to your computer and use it in GitHub Desktop.
class text:
purple = "\033[95m"
cyan = "\033[96m"
darkcyan = "\033[36m"
blue = "\033[94m"
green = "\033[92m"
yellow = "\033[93m"
red = "\033[91m"
magenta = "\033[35m"
white = "\033[37m"
bold = "\033[1m"
underline = "\033[4m"
blink = "\033[5m"
invert = "\033[7m"
italic = '\033[3m'
black = "\033[30m"
class highlight:
red = "\033[41m"
black = "\033[40m"
green = "\033[42m"
yellow = "\033[43m"
blue = "\033[44m"
magenta = "\033[45m"
cyan = "\033[46m"
white = "\033[47m"
end = "\033[0m" #this stops the attributes or else your whole shell will have that attribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment