-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolors.go
29 lines (27 loc) · 827 Bytes
/
colors.go
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
package prettyprinter
const (
none string = "\x1b[0m"
black string = "\x1b[30m"
red string = "\x1b[31m"
green string = "\x1b[32m"
brown string = "\x1b[33m"
blue string = "\x1b[34m"
magenta string = "\x1b[35m"
cyan string = "\x1b[36m"
yellow string = "\x1b[33;1m"
purple string = "\x1b[35;1m"
white string = "\x1b[37;1m"
lightGray string = "\x1b[37m"
darkGray string = "\x1b[30;1m"
brightRed string = "\x1b[31;1m"
brightGreen string = "\x1b[32;1m"
brightBlue string = "\x1b[34;1m"
brightCyan string = "\x1b[36;1m"
bgRed string = "\x1b[41m"
bgGreen string = "\x1b[42m"
bgYellow string = "\x1b[43m"
bgBlue string = "\x1b[44m"
bgMagenta string = "\x1b[45m"
bgCyan string = "\x1b[46m"
bgWhite string = "\x1b[47m"
)