11 lines
219 B
Plaintext
11 lines
219 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
# prints all of the 256-bit color values in their associated color
|
||
|
for i in {0..255}; do
|
||
|
printf "\x1b[38;5;${i}mcolor%-5i\x1b[0m" $i
|
||
|
if ! (( ($i + 1 ) % 8 )); then
|
||
|
echo
|
||
|
fi
|
||
|
done
|
||
|
|