1 2 3 4 5 6 7 8
## vim:ft=zsh ## print a table with all 256 color codes for i in {0..255}; { printf " %s%-3s" $'\e[38;5;'${i}m ${i} (( (i+1) % (COLUMNS/4) < 1 )) && echo } echo