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