How to change the color of an object