how to change the background color in tkinter code example
Example 1: set background colour tkinter
window_name.configure(background='black')
Example 2: how to add a background color in tkinter
from tkinter import *
new_window = Tk()
new_window.title("Hello World")
new_window.geometry("300x250")
new_window.config(bg = "red")
new_window.mainloop()
Example 3: how to change button background color while clicked tkinter python
col = Button(yourWindow, text='col', bg='gray25', activebackground='cyan')