tkinter set window background colour code example Example: change background color of tkinter root.configure(background='black')