1 2 3 4 5 6 7
#!/bin/bash set -e for i in $(seq 0 255);do if [ $(( i % 12 )) = 0 ];then echo ;fi printf "\x1b[38;5;${i}mcolour${i}\x1b[0m\t" done echo