40 lines
910 B
Bash
40 lines
910 B
Bash
|
#!/bin/bash
|
||
|
echo "foreground colors"
|
||
|
echo -e "\e[39mDefault"
|
||
|
echo -e "\e[30mBlack"
|
||
|
echo -e "\e[31mRed"
|
||
|
echo -e "\e[32mGreen"
|
||
|
echo -e "\e[33mYellow"
|
||
|
echo -e "\e[34mBlue"
|
||
|
echo -e "\e[35mMagenta"
|
||
|
echo -e "\e[36mCyan"
|
||
|
echo -e "\e[37mLight gray"
|
||
|
echo -e "\e[90mDark gray"
|
||
|
echo -e "\e[91mLight red"
|
||
|
echo -e "\e[92mLight green"
|
||
|
echo -e "\e[93mLight yellow"
|
||
|
echo -e "\e[94mLight blue"
|
||
|
echo -e "\e[95mLight magenta"
|
||
|
echo -e "\e[96mLight cyan"
|
||
|
echo -e "\e[97mWhite"
|
||
|
|
||
|
echo "background colors"
|
||
|
echo -e "\e[49mDefault"
|
||
|
echo -e "\e[40mBlack"
|
||
|
echo -e "\e[41mRed"
|
||
|
echo -e "\e[42mGreen"
|
||
|
echo -e "\e[43mYellow"
|
||
|
echo -e "\e[44mBlue"
|
||
|
echo -e "\e[45mMagenta"
|
||
|
echo -e "\e[46mCyan"
|
||
|
echo -e "\e[47mLight gray"
|
||
|
echo -e "\e[100mDark gray"
|
||
|
echo -e "\e[101mLight red"
|
||
|
echo -e "\e[102mLight green"
|
||
|
echo -e "\e[103mLight yellow"
|
||
|
echo -e "\e[104mLight blue"
|
||
|
echo -e "\e[105mLight magenta"
|
||
|
echo -e "\e[106mLight cyan"
|
||
|
echo -e "\e[107mWhite"
|
||
|
|