Use this Function here: It has the colors: red, blue, green
colors = {'red':'\033[31m', 'blue':'\033[34m', 'green':'\033[32m'}
def colorprint(string, text_color = 'default', bold = False, underline = False):
if underline == True:
string = '\033[4m' + string
if bold == True:
string = '\033[1m' + string
if text_color == 'default' or text_color in colors:
for color in colors:
if text_color == color:
string = colors[color] + string
else:
raise ValueError ("Colors not in:", colors.keys())
print(string + '\033[0m')