Changing background color of a trace

Hi,

I have plotted multiple traces, now I want to change the background color of anyone trace on button click. Can you please suggest me a way?

Thank you

I figured it out this can be possible by using shapes