consolecolor.py 328 Bytes
Newer Older
1
from enum import Enum
2
3


4
class TerminalColors(Enum):
5
    HEADER = "\033[95m"
6

7
8
9
10
11
12
    RED = "\033[31m"
    GREEN = "\033[32m"
    ORANGE = "\033[33m"
    BLUE = "\033[34m"
    PINK = "\033[35m"
    CYAN = "\033[36m"
13

14
15
    WARNING = "\033[31m"
    FAIL = "\033[41m"
16

17
18
    BOLD = "\033[1m"
    UNDERLINE = "\033[4m"
19

20
    ENDC = "\033[0m"