1import os
2# To get all possible colors for the command line, open the command prompt
3# and enter the command "color help"
4os.system('color FF')
1from colorama import init
2from colorama import Fore, Back, Style
3
4init()
5
6print(Fore.RED + 'some red text')
7print(Back.GREEN + 'and with a green background')
8print(Style.DIM + 'and in dim text')
9print(Style.RESET_ALL)
10print('back to normal now')
11# or
12print('\033[31m' + 'some red text')
13print('\033[39m') # and reset to default color