In my game everything is made around 4 colors (red, green, blue and yellow).
I can make a different animation for every color, for each object which is able to chage color. This is not effective, especially when I have to change ~20 frames in every object's animation (like this). I also can change color by using "Replace color" effect. It's way more easier, but how badly it affects my game's performance? When it's all started, I was told that I should avoid using any WebGL effects while making smartphone games because of their effect on the performance. What is the best for me in this case?