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