The programs you write with Python here on Sololearn are all console-based.
That's standard text output where you can't control much of anything.
If you want color, you would have to write a graphical program, for example a windows application with tkinter (not possible on Sololearn).
Then you're basically writing webcode with Python.
You will, however, need some knowledge of HTML and CSS then.
Take a look around Code Playground, you'll find plenty of Brython programs.