Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Last active August 29, 2015 13:58
Show Gist options
  • Save kjunichi/9927036 to your computer and use it in GitHub Desktop.
Save kjunichi/9927036 to your computer and use it in GitHub Desktop.
ターミナルでRGB表示

Linux

というか、echoコマンドで"-e"オプションが利用可能な環境下

echo -e "\e[41m \e[m\e[42m \e[m\e[44m \e[m"

OSX

printf "\e[41m \e[m\e[42m \e[m\e[44m \e[m\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment