2023-11-09 23:46:05 +01:00
|
|
|
#!/bin/bash
|
2023-11-10 11:03:20 +01:00
|
|
|
color() {
|
|
|
|
for c; do
|
|
|
|
printf '\e[48;5;%dm%03d' $c $c
|
|
|
|
done
|
|
|
|
printf '\e[0m \n'
|
2023-11-09 23:46:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
IFS=$' \t\n'
|
|
|
|
color {0..15}
|
2023-11-10 11:03:20 +01:00
|
|
|
for ((i = 0; i < 6; i++)); do
|
|
|
|
color $(seq $((i * 36 + 16)) $((i * 36 + 51)))
|
2023-11-09 23:46:05 +01:00
|
|
|
done
|
|
|
|
color {232..255}
|