From be1fc4bc874f33c38b0ae846972c6630368eea04 Mon Sep 17 00:00:00 2001 From: Junior Date: Mon, 3 Jun 2024 20:02:15 -0400 Subject: [PATCH] Add simple class to store variables for console text coloring --- Python/Utils/TextColors.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Python/Utils/TextColors.py diff --git a/Python/Utils/TextColors.py b/Python/Utils/TextColors.py new file mode 100644 index 0000000..bef5976 --- /dev/null +++ b/Python/Utils/TextColors.py @@ -0,0 +1,18 @@ +class TextColors: + BLACK = '\033[30m' + RED = '\033[31m' + GREEN = '\033[32m' + YELLOW = '\033[33m' + BLUE = '\033[34m' + MAGENTA = '\033[35m' + CYAN = '\033[36m' + LIGHT_GRAY = '\033[37m' + DARK_GRAY = '\033[90m' + BRIGHT_RED = '\033[91m' + BRIGHT_GREEN = '\033[92m' + BRIGHT_YELLOW = '\033[93m' + BRIGHT_BLUE = '\033[94m' + BRIGHT_MAGENTA = '\033[95m' + BRIGHT_CYAN = '\033[96m' + WHITE = '\033[97m' + RESET = '\033[0m' \ No newline at end of file