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