use the Fprint function of terminal to output color text.