Skip to content

Instantly share code, notes, and snippets.

@yukpiz yukpiz/bash256
Created Apr 6, 2015

What would you like to do?
bash 256 colors.
for i in {0..255}; do
if [ $((${i} % 8)) -eq 0 ]; then
printf '\n'
printf "\x1b[38;05;${i}m [38;05;%03dm" ${i}
printf '\n'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.