Change Point Light color by clicking on object?

I’m making a horror game and want my player to go around activating power generators that have lights on them to show their status. Does anybody know how I can get a Point Light to change its color when the player clicks on the object the Point Light is attached to? If so, I’d greatly appreciate it if you could show me how I can do this please. Thanks in advance!