Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
13

How do I change background colour on the repl

RyanNewman3
RyanNewman3

what is the command that makes the background colour change

2 years ago
You are viewing a single comment. View All
1
IntellectualGuy
IntellectualGuy

You could do this

from colorama import Back,Style print(Back.RED + "This prints text with a red background" + Style.RESET_ALL)

This would print the text with a background of whatever color you choose.
Use Style.RESET_ALL to reset all colors
Official documentation here

2 years ago