added another color tester script for 256 colors
This commit is contained in:
parent
5af47c4bed
commit
65aec5051e
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
for color in {0..255}; do
|
||||
printf "\x1b[38;5;${color}m %3s \e[0m" $color #fg
|
||||
printf "\x1b[48;5;${color}m %3s \e[0m" $color #bg
|
||||
|
||||
if [ $((($color + 1) % 8)) == 0 ] ; then
|
||||
echo #New line
|
||||
fi
|
||||
done
|
Loading…
Reference in New Issue