background color python tkinter code example Example: set background colour tkinter window_name.configure(background='black')