class colors: bright = "1;" light = bright dark = "0;" normal = "0m" bwhite = "1m" dwhite = "2m" grey = "37m" black = "30m" blue = "34m" green = "32m" cyan = "36m" red = "31m" magenta = "35m" yellow = "33m" blue = "34m" def yellow(text): return colored(text, colors.yellow) def cyan(text): return colored(text, colors.cyan) def blue(text): return colored(text, colors.blue) def red(text): return colored(text, colors.red) def magenta(text): return colored(text, colors.magenta) def green(text): return colored(text, colors.green) def dyellow(text): return colored(text, colors.yellow, colors.dark) def dcyan(text): return colored(text, colors.cyan, colors.dark) def dblue(text): return colored(text, colors.blue, colors.dark) def dred(text): return colored(text, colors.red, colors.dark) def purple(text): return colored(text, colors.magenta, colors.dark) def dgreen(text): return colored(text, colors.green, colors.dark) def colored(text, color, shade=colors.light): return "\x1b[" + shade + color + str(text) + "\x1b[0m"