small pixel drawing of a pufferfish dotfiles

bin/nostromo/taste

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/bash

for fgbg in $(seq 38 48) ; do # Foreground / Background
    for color in $(seq 238 255)  ; do # Colors
        # Display the color
        printf "\e[${fgbg};5;%sm  %3s  \e[0m" $color $color
        # Display 6 colors per lines
        if [ $((($color + 1) % 6)) == 4 ] ; then
            echo # New line
        fi
    done
    echo # New line
done
 
exit 0