#Use highlightbackground=color #For example: submit = Button(root, text="Generate", highlightbackground='#3E4149')
from tkinter import * root = Tk() button = Button(root, bg='red') # Background color = red button.pack() root.mainloop