import tkinter as tk
from tkinter import ttk

win=tk.Tk()
def click():
    btn['text']='click'
def click2():
    btn2['text']='click2'

style=ttk.Style()
style.theme_use('default')
style.configure('styled.TButton',foreground='deep pink',background='purple3')
style.map('styled.TButton',
    foreground=[('pressed','DeepPink2'),('focus','hot pink'),('!focus','deep pink')],
    background=[('active','DeepPink4'),('focus','MediumOrchid4')])

btn=ttk.Button(win,text='Styled Button',command=click, style='styled.TButton')
btn.pack(fill='both')
#btn['state']='disabled'
btn2=ttk.Button(win,text='Styled Button2',command=click2, style='styled.TButton')
btn2.pack(fill='both')

win.mainloop()