Change color of interactive button

Hello,

Can I somehow change color of button on push? For example via custom plugin or something like this