-
Notifications
You must be signed in to change notification settings - Fork 0
/
color.sh
58 lines (57 loc) · 777 Bytes
/
color.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
for C in {0..9}; do
tput setab $C
echo -n "$C "
done
for C in {10..15}; do
tput setab $C
echo -n "$C "
done
tput sgr0
echo
for C in {16..51}; do
tput setab $C
echo -n "$C "
done
tput sgr0
echo
for C in {52..87}; do
tput setab $C
echo -n "$C "
done
tput sgr0
echo
for C in {88..99}; do
tput setab $C
echo -n "$C "
done
for C in {100..123}; do
tput setab $C
echo -n "$C "
done
tput sgr0
echo
for C in {124..159}; do
tput setab $C
echo -n "$C "
done
tput sgr0
echo
for C in {160..195}; do
tput setab $C
echo -n "$C "
done
tput sgr0
echo
for C in {196..231}; do
tput setab $C
echo -n "$C "
done
tput sgr0
echo
for C in {232..255}; do
tput setab $C
echo -n "$C "
done
tput sgr0
echo