-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolor.sh
74 lines (66 loc) · 2.02 KB
/
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/bin/bash
# Reset
reset='\033[0m' # Text Reset
# Regular Colors
black='\033[0;30m' # Black
red='\033[0;31m' # Red
green='\033[0;32m' # Green
yellow='\033[0;33m' # Yellow
blue='\033[0;34m' # Blue
purple='\033[0;35m' # Purple
cyan='\033[0;36m' # Cyan
white='\033[0;37m' # White
# Bold
Bblack='\033[1;30m' # Black
Bred='\033[1;31m' # Red
Bgreen='\033[1;32m' # Green
Byellow='\033[1;33m' # Yellow
Bblue='\033[1;34m' # Blue
Bpurple='\033[1;35m' # Purple
Bcyan='\033[1;36m' # Cyan
Bwhite='\033[1;37m' # White
# Underline
Ublack='\033[4;30m' # Black
Ured='\033[4;31m' # Red
Ugreen='\033[4;32m' # Green
Uyellow='\033[4;33m' # Yellow
Ublue='\033[4;34m' # Blue
Upurple='\033[4;35m' # Purple
Ucyan='\033[4;36m' # Cyan
Uwhite='\033[4;37m' # White
# Background
BGblack='\033[40m' # Black
BGred='\033[41m' # Red
BGgreen='\033[42m' # Green
BGyellow='\033[43m' # Yellow
BGblue='\033[44m' # Blue
BGpurple='\033[45m' # Purple
BGcyan='\033[46m' # Cyan
BGwhite='\033[47m' # White
# High Intensity
Iblack='\033[0;90m' # Black
Ired='\033[0;91m' # Red
Igreen='\033[0;92m' # Green
Iyellow='\033[0;93m' # Yellow
Iblue='\033[0;94m' # Blue
Ipurple='\033[0;95m' # Purple
Icyan='\033[0;96m' # Cyan
Iwhite='\033[0;97m' # White
# Bold High Intensity
BIblack='\033[1;90m' # Black
BIred='\033[1;91m' # Red
BIgreen='\033[1;92m' # Green
BIyellow='\033[1;93m' # Yellow
BIblue='\033[1;94m' # Blue
BIpurple='\033[1;95m' # Purple
BIcyan='\033[1;96m' # Cyan
BIwhite='\033[1;97m' # White
# High Intensity backgrounds
BGIblack='\033[0;100m' # Black
BGIred='\033[0;101m' # Red
BGIgreen='\033[0;102m' # Green
BGIyellow='\033[0;103m' # Yellow
BGIblue='\033[0;104m' # Blue
BGIpurple='\033[0;105m' # Purple
BGIcyan='\033[0;106m' # Cyan
BGIwhite='\033[0;107m' # White