How can I change the text color of a button when I click on the button?

I am using both the button card or the HACS button card successfully. BUT. I would like to change the “name” or “label” text color when I click on the button in the GUI. NOT when the state of a light changes, NOT when something else happens. Just simply clicking on the button displayed by the button card with my mouse.

I see a lot of examples but all of them are base on some external event happening. A light changes, etc. This is solely confined within the GUI. Click → color changes.

Any help would be greatly appreciated.

Instead of making whatever action you do with the button directly, then call a script that first sets a toggle helper and then call the original action.
This way you can have the button react to the toggle helper.
You will of course need reset the toggle helper somewhere, like by a timer or in the end of the script or whatever way that fits your use case.