Changing the bubble card background for a few seconds

I hope someone can help me.
I use the bubble card as a button - for this I control an action via an input_button, which resets the status of the input_button after 50ms.
However, I would like to give the user visual feedback that he has actually pressed the bubble card button.
I thought the easiest way to do this would be to change the bubble card background for 3-4 seconds.
Does anyone have an idea how I can change the bubble card background for 3 seconds and then set it back to the default color?

Thank you very much in advance.

KR Markus