5

Is there a simple way to change the color of a text in a button?

I use button['text'] = 'input text here' to change what the button text will be after the push. Does something similar exist for the change of color, button['color'] = 'red'?

Jason
  • 2,278
  • 2
  • 17
  • 25
hamp
  • 131
  • 1
  • 2
  • 7

1 Answers1

16

Use the foreground option to set a color of the text in a button.

Example:

button.configure(foreground="red")
Kidus
  • 1,785
  • 2
  • 20
  • 36