Botton card change color

Hi all,
Its probably been ask before, how do change the color of the button card for on and off?
Thanks