summaryrefslogtreecommitdiffstats
path: root/256colors.sh
blob: 5967093c25afcdfdbab7d85594cb8f34bae5ed92 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

echo '^[[38;5;${i}m'

for i in {16..255}; do 
    echo -en "\e[38;5;${i}mColor $i\t"
    [ $((++j%6)) -eq 0 ] && echo
done