Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set default background colour tkinter

Does anyone know the colour code for the default background? I cant seem to find this anywhere. In my program I changed the background colour and need to change it back to the default colour later on but I am unable to find the colour code.

Any help is appreciated. Thanks.

like image 272
Rezzy Avatar asked Jul 23 '26 19:07

Rezzy


1 Answers

Try this:

root.configure(background='SystemButtonFace')
like image 152
ErnestoQ Avatar answered Jul 25 '26 15:07

ErnestoQ