ttk button background color tkinter code example
Example 1: tkinter button background color mac
#Use highlightbackground=color
#For example:
submit = Button(root, text="Generate", highlightbackground='#3E4149')
Example 2: how to change button background color while clicked tkinter python
#Type "activebackground=" + your chosen background color between commas
col = Button(yourWindow, text='col', bg='gray25', activebackground='cyan')