How to alternatively change button's color

Hi

Very strange.
I can’t copy/paste your code to node-red clipboard despite I can copy paste mine !
Are you sure your code can be copied to node-red clipboard ?