Change predefined switch's state colors

I’ve created a GPIO switch:

 - platform: gpio
    pin: 32
    name: "Stato pin 34 (ON-Off)"
    icon: "mdi:alarm-light"

that has two predefined colors: blue (Off) and yellow (on).
Is there any way to change this colors so has to have, i.e., gray for Off state and green for ON state?
Any idea?
Thanks in advance

You can use