How do i make a plane change colour in the game engine?

I want in the game engine a plane to change colour to show that it is selected in the game engine when i hover the cursor on it, how do i do that?

Make sure “Object Color” is checked under Materials->Options. You can then set the object’s color by setting the color property in a Python script.