Create a gist now

Instantly share code, notes, and snippets.

@uplus /echo_color.sh
Last active Dec 13, 2016

What would you like to do?
echo_color(){
color="${1}"
shift
echo -e "\e[38;5;${color}m${*}\e[00m"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment