My task is to create a label and button on Tkinter. The button has to change the label, and I have to change the colour of the button and the label. I have changed the colour of
For a ttk button the primary issue with color control requires usage of ttk.Style() and theme_use. Themes alt/classic/default allow 3D/color button control. See Python: Changing ttk button color depending on current color? for a code example using configure and map for style.