1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash echo '^[[38;5;${i}m' for i in {01..255}; do echo -en "\e[38;5;${i}mColor $i\t" if [ $i -eq 15 ]; then j=5 fi [ $((++j%6)) -eq 0 ] && echo done