This will change the font color to red (\e[0;31m), then back to the default (\e[0m)
printf "\e[0;31mThis will change the font color to red!\e[0m"
| Font Brightness |
Color Codes |
||
|---|---|---|---|
| Normal | 0 | Black | 30 |
| Red | 31 | ||
| Green | 32 | ||
| Yellow | 33 | ||
| Bright | 1 | Blue | 34 |
| Pink | 35 | ||
| Cyan | 36 | ||
| White | 37 | ||