Skip to content

Instantly share code, notes, and snippets.

@a2gs
Created April 19, 2019 21:05
Show Gist options
  • Save a2gs/0c15375d39421aeb3f0bcae60bc05435 to your computer and use it in GitHub Desktop.
Save a2gs/0c15375d39421aeb3f0bcae60bc05435 to your computer and use it in GitHub Desktop.
A little list of shell escape colors
#!/bin/bash
echo -e "\033[1;37mWHITE"
echo -e "\033[0;30mBLACK"
echo -e "\033[0;34mBLUE"
echo -e "\033[0;32mGREEN"
echo -e "\033[0;36mCYAN"
echo -e "\033[0;31mRED"
echo -e "\033[0;35mPURPLE"
echo -e "\033[0;33mYELLOW"
echo -e "\033[1;30mGRAY"
# https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment