1
0
Fork 0

Change formatting slightly

This commit is contained in:
tastytea 2022-03-19 07:04:35 +01:00
parent 8ad4ead59f
commit bc1d575dc4
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 3 additions and 7 deletions

View File

@ -3,7 +3,6 @@
# https://tintin.mudhalla.net/info/256color/
print "\e[1;97mClassic colours:\e[0m"
print "Regular Bold Underline Background"
for n in {30..37}; do
local nbg=$(( ${n} + 10 ))
@ -12,7 +11,6 @@ for n in {30..37}; do
done
print "\n\e[1;97mHigh intensity colours:\e[0m"
print "Regular Bold Underline Background"
for n in {90..97}; do
local nbg=$(( ${n} + 10 ))
@ -21,7 +19,6 @@ for n in {90..97}; do
done
print "\n\e[1;97m256 colour pallette:\e[0m"
local -a colours
for n in {0..255}; do
colours+="\e[38;5;${n}m\\\e[38;5;${n}m\e[0m"
@ -29,7 +26,6 @@ done
print -c ${colours}
print "\n\e[1;97m256 colour background:\e[0m 48 instead of 38"
print "\e[1;97mTrue colour:\e[0m \\\e[38;2;\e[0;31mR\e[0m;\e[0;32mG\e[0m;\e[0;34mB\e[0mm and \\\e[48;2;\e[0;41mR\e[0m;\e[0;42mG\e[0m;\e[0;44mB\e[0mm"
print "\e[1;97mReset: \e[0m\\\e[0m"
print "\e[1;97mTrue colour:\e[0m \\\e[38;2;\e[0;31mR\e[0m;\e[0;32mG\e[0m;\e[0;34mB\e[0mm" \
"and \\\e[48;2;\e[0;41mR\e[0m;\e[0;42mG\e[0m;\e[0;44mB\e[0mm"
print "\e[1;97mReset:\e[0m \\\e[0m"