How to make an object recolor template