from pyfiglet import figlet_format
from termcolor import colored
valid_colors = ('red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white')

message = input("What message do you want to print?: ")
color = input("What color?: ")

if color not in valid_colors:
    color = 'white'

ascii_art = figlet_format(message)
colored_ascii = colored(ascii_art, color=color)
print(colored_ascii)

# OR print(colored((figlet_format(message)),color=color))