OSDN Git Service

delete serenelinux-resources
[serene/serenelinux-system-pkg.git] / eg-arrest.old / usr / share / arrest / color.py
1 class colors:
2 #Style
3     bold = '\033[1m'
4     underlined = '\033[4m'
5 #Color
6     black = '\033[30m'
7     red = '\033[31m'
8     green = '\033[32m'
9     yellow = '\033[33m'
10     blue = '\033[34m'
11     magenta = '\033[35m'
12     cyan = '\033[36m'
13     lgray = '\033[37m'
14     darkgray = '\033[90m'
15     lred = '\033[91m'
16     lgreen = '\033[92m'
17     lyellow = '\033[93m'
18     lblue = '\033[94m'
19     lmagenta = '\033[95m'
20     lcyan = '\033[96m'
21 #Backgroundcolors
22     bground_black = '\033[40m'
23     bground_red = '\033[41m'
24     bground_green = '\033[42m'
25     bground_yellow = '\033[43m'
26     bground_blue = '\033[44m'
27     bground_magenta = '\033[45m'
28     bground_cyan = '\033[46m'
29 #Reset All
30     reset = '\033[0m'
31 #How to use?
32 #from clicolors import colors
33 #print(colors.red + "red text" + colors.reset)