You can use ANSI escape sequences. More info here.
You could also use termcolor for Python (and I think a few other languages)
from termcolor import colored
user_input = input(colored(string, color))
#Where string is the prompt for the input command and color
#is a valid termcolor color
Valid termcolor colors can be found here