dotfiles/bin/term-color-vals

11 lines
219 B
Plaintext
Raw Normal View History

2021-04-15 22:45:15 +00:00
#!/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