corz.org uses cookies to remember that you've seen this notice explaining that corz.org uses cookies, okay!
corz.org text viewer..
[currently viewing: / public/ linux/ usr/ local/ bin/ color.sh - raw]
clear
echo -e " \033[1;31;7;5m\033[0m"
echo -e " \033[1;32;7;5minstalling such-and-such program..\033[0m"
echo "[01;33mOh my! I am bold yellow![00m"
echo
echo -e '\033[1mThis is BOLD text..\033[0m'
echo
echo -e '\033[30mThis is black [38].\033[0m';
echo -e '\033[31mThis is red [31]\033[0m';
echo -e '\033[32mThis is green [32]\033[0m';
echo -e '\033[33mThis is yellow [33]\033[0m';
echo -e '\033[34mThis is blue [34]\033[0m';
echo -e '\033[35mThis is magenta [35]\033[0m';
echo -e '\033[36mThis is cyan [36]\033[0m';
echo -e '\033[37mThis is grey [37]\033[0m';
echo -e "\033[037mRegular White [037]\033[0m"
echo -e "\033[137mRegular White [137]\033[0m"
echo -e "\033[038mRegular White [038]\033[0m"
echo
echo
echo -e '\033[1mThis is BOLD text..\033[0m'
echo -e '\033[1;31mThis is bold red [31].\033[0m';
echo -e '\033[1;32mThis is bold green [32].\033[0m';
echo -e '\E[01;33mThis is bold yellow [33].\033[0m';
echo -e '\E[1;34mThis is bold blue [34].\033[0m';
echo -e '\E[1;35mThis is bold magenta [35].\033[0m';
echo -e '\e[1;36mThis is bold cyan [36].\033[0m';
echo -e '\e[1;37mThis is bold grey [37] (same as regular bold text).\033[0m';
echo -e '\e[1;30mThis is bold black [30].\033[0m';
echo
echo -en '\033[1;31m\033[1mBold Red, \033[0m'
echo -en '\033[1;32m\033[1mGreen, \033[0m'
echo -en '\033[1;34m\033[1mand Blue \033[0m'
echo
echo
echo -e "\033[37;44mRegular White [37] on Blue background [44]\033[0m"
echo -e "\E[37;41m\033[1mBold White [37] on Red background [41]\033[0m"
echo -e "\033[31;44m\033[1mBold Red [33] on Blue background [44]\033[0m"
echo -e "\E[35;46m\033[1mmagenta [35] on cyan background [46]\033[0m"
echo -e "\033[31;5;44m\033[1mBold Red [33] on BOLD Blue background [44]\033[0m"
echo -e "\033[35;5;43m\033[1mBold Magenta [33] on BOLD yellow background [44]\033[0m"
echo
echo -e "\033[4m Underlined Text \033[0m"
echo
echo -e "\033[7m Underlined Text (inverted)\033[0m"
echo -e "\033[4;45m Underlined Text on Magenta Background \033[0m"
echo -e "\033[1;33;5;45m Underlined Yellow Bold Text on Bold Magenta Background *phew* ;o)\033[0m"
echo -e "\033[7;36;45m more interesting effects! \033[0m"
echo
tput sgr0
exit 0