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