Skip to content
Sign upLog in
← Back to Community

How do I change background colour on the repl

Profile icon
RyanNewman3

what is the command that makes the background colour change

Voters
Profile icon
am31ia
Profile icon
AravDaryani
Profile icon
Vijay69
Profile icon
RobertSmith12
Profile icon
TobyWebb3
Profile icon
AnceKarolina
Profile icon
RalfsSemjonovs
Profile icon
44wilsonllc
Profile icon
JustinTr
Profile icon
LydiaHwang
Comments
hotnewtop
Profile icon
Squirrel777

You can't change the color of the console (the black area where your repl run's) Or if you want to change it to dark theme just go to setting's on the left, find the theme then change it to dark theme!

Profile icon
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

Profile icon
InvisibleOne

You can do something like this:

from colorama import Fore, Back, Style print(Back.GREEN + "This text will have a green background!" + Style.RESET_ALL) print(Back.RED + Fore.GREEN + "This text will have a red background with green text!" + Style.RESET_ALL)
Profile icon
RYANTADIPARTHI

sorry, that's not possible.

Profile icon
RyanNewman3

No but thank you

Profile icon
KHZ

@RyanNewman3
If you mean the light and dark theme of repl you can change it by going inside any of your repl and then at the left side of the window you can choose settings under the files tab and choose dark theme.
Invalid image url