Created
July 13, 2018 02:10
-
-
Save ipatch/bca4d2f8ba7686bffc5e20b894356aad to your computer and use it in GitHub Desktop.
taste the rainbow™️
This file contains 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
############################## | |
# NOTE: taste the rainbow 🌈 | |
## | |
Bld='\e[1m' # Enable Bold text | |
Itl='\e[3m' # Enable Italic | |
Und='\e[4m' # Enable Underline | |
Rst='\e[0m' # Reset text | |
# Regular High Intensity BoldHigh Intens | |
Bla='\e[0;30m'; IBla='\e[0;90m'; BIBla='\e[1;90m'; | |
Red='\e[0;31m'; IRed='\e[0;91m'; BIRed='\e[1;91m'; | |
Gre='\e[0;32m'; IGre='\e[0;92m'; BIGre='\e[1;92m'; | |
Yel='\e[0;33m'; IYel='\e[0;93m'; BIYel='\e[1;93m'; | |
Blu='\e[0;34m'; IBlu='\e[0;94m'; BIBlu='\e[1;94m'; | |
Pur='\e[0;35m'; IPur='\e[0;95m'; BIPur='\e[1;95m'; | |
Cya='\e[0;36m'; ICya='\e[0;96m'; BICya='\e[1;96m'; | |
Whi='\e[0;37m'; IWhi='\e[0;97m'; BIWhi='\e[1;97m'; | |
# Usage: `printf "${Blu}blue ${Red}red ${Rst}etc..."` | |
printf "${Blu}blue ${Red}red ${Rst}etc...\n" | |
printf "${Gre}Hello World${Rst}\n" | |
printf "${Itl}italics${Rst}\n" | |
printf "${Itl}${Red}italics${Rst}\n" | |
printf "${Itl}${Bld}BOLD + italics${Rst}\n" | |
printf "${Bld}${Itl}bold ++ italics${Rst}\n" | |
printf "${Bld}${Blu}This text should bold + blue${Rst}\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment