How to change Variables in a Button with a Script

Hello,
i am pretty new on this Plattform so i hope the Post is in the right Spot.
I am looking for somebody who could help me with the following problem.
I want to change a Button Color with a Script. How can i do that?