Hi!
If you use Python to create something similar, take a look at the following tutorials. You can see how I color the console output.
Thanks!