change background color button tkinter code example
Example 1: change background color of tkinter
root.configure(background='black')
Example 2: tkinter button background color mac
#Use highlightbackground=color
#For example:
submit = Button(root, text="Generate", highlightbackground='#3E4149')