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