how to set a custom backgroung RGB color python tkinter code example Example: set background colour tkinter window_name.configure(background='black')