Change background color back and forth on mouse click

This should be fairly simple, but I’m wanting to change the background color of a numeric label back and forth when clicking on it. Basically a select, deselect, so when I select it, the background will change to one color from the original, and if I want to deselect it, I would click on it again so it changes back. Here’s my code on the component scripting which uses and if / elif statement, but it’s not working.

You need to assign a color object to the background property (system.gui.color).
Also comparing a color object for equality may fail, try using a custom property as a toggle bit instead.

Thank you, this solved it. I simply added system.gui.color, so it made it system.gui.color(255,255,255).