-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcolor_list.go
More file actions
43 lines (38 loc) · 1014 Bytes
/
color_list.go
File metadata and controls
43 lines (38 loc) · 1014 Bytes
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
package GoColor
const Reset = "\x1b[0m"
const (
Black = "\x1b[30m"
Red = "\x1b[31m"
Green = "\x1b[32m"
Yellow = "\x1b[33m"
Blue = "\x1b[34m"
Magenta = "\x1b[35m"
Cyan = "\x1b[36m"
White = "\x1b[37m"
Gray = "\u001B[90m"
LightRed = "\x1b[91m"
LightGreen = "\x1b[92m"
LightYellow = "\x1b[93m"
LightBlue = "\x1b[94m"
LightMagenta = "\x1b[95m"
LightCyan = "\x1b[96m"
LightWhite = "\x1b[97m"
)
const (
BackgroundBlack = "\x1b[40m"
BackgroundRed = "\x1b[41m"
BackgroundGreen = "\x1b[42m"
BackgroundYellow = "\x1b[43m"
BackgroundBlue = "\x1b[44m"
BackgroundMagenta = "\x1b[45m"
BackgroundCyan = "\x1b[46m"
BackgroundWhite = "\x1b[47m"
BackgroundLightGray = "\x1b[100m"
BackgroundLightRed = "\x1b[101m"
BackgroundLightGreen = "\x1b[102m"
BackgroundLightYellow = "\x1b[103m"
BackgroundLightBlue = "\x1b[104m"
BackgroundLightMagenta = "\x1b[105m"
BackgroundLightCyan = "\x1b[106m"
BackgroundLightWhite = "\x1b[107m"
)