aboutsummaryrefslogtreecommitdiffstats
path: root/bin/color
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-05-14 18:14:50 +0000
committerterminaldweller <thabogre@gmail.com>2021-05-14 18:14:50 +0000
commit6e528248414e330c9e25e81596ab47b8b8a5b701 (patch)
treee1aa41a7f3198eeac187e6177ec7d4a33db229d3 /bin/color
downloadscripts-master.tar.gz
scripts-master.zip
first commitmaster
Diffstat (limited to 'bin/color')
-rwxr-xr-xbin/color6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/color b/bin/color
new file mode 100755
index 0000000..d96fde3
--- /dev/null
+++ b/bin/color
@@ -0,0 +1,6 @@
+#!/bin/sh
+for i in {0..255};do
+ if (( i % 12 == 0 )); then echo;fi
+ printf "\x1b[38;5;${i}mcolour${i}\x1b[0m\t"
+done
+echo