Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Last update: 2018-10-14
- # Colors
- # ------
- # Usage: <Red, Green, Yellow, Blue, Magenta, Cyan, Orange> "Sample text"
- Default() { echo -e "\e[38;5;7m$1" ; }
- Red() { echo -e "\e[38;5;9m$1\e[38;5;7m" ; }
- Green() { echo -e "\e[38;5;28m$1\e[38;5;7m" ; }
- Yellow() { echo -e "\e[38;5;220m$1\e[38;5;7m" ; }
- Blue() { echo -e "\e[38;5;20m$1\e[38;5;7m" ; }
- Magenta() { echo -e "\e[38;5;126m$1\e[38;5;7m" ; }
- Cyan() { echo -e "\e[38;5;39m$1\e[38;5;7m" ; }
- Orange() { echo -e "\e[38;5;202m$1\e[38;5;7m" ; }
- OneEmptyLine() { echo ; }
- TwoEmptyLines() { echo ; echo ; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement