python tkinter main window color code example Example: python tkinter change color of main window new_window.config(bg = "red")