#!/usr/bin/env bash # Show all the colors of the rainbow, should be run under bash for STYLE in $(seq 0 9; echo 21 53); do for FG in $(seq 30 39; seq 90 97); do for BG in $(seq 40 49; seq 100 107); do CTRL="${STYLE};${FG};${BG}" echo -en "\e[${CTRL}m${CTRL}\e[m " done echo done echo done # Reset echo -e "\e[m"