Is there a way to animate color in framer? Say I want to animate a layer from gray to three other colors depending on what is clicked? Thanks!
There are a bunch of ways to animate colors, or at least fake color animation. The easiest and messiest way is to use layer.hueRotate, along with states. You can somewhat recreate HSB colors with Framer methods.The pitfall of hueRotate is that the transition is not direct.Example: http://share.framerjs.com/6lhqhp2iq1ev/
Alternatively you can use CSS. Example: http://share.framerjs.com/vt26qur6qen4/.
Another method is to duplicate the layer, change the background color, and animate the opacity of one of the layers. Example: http://share.framerjs.com/xlblsmtddf6w/
Also you can also use a method by Min-Sang Choi. Example: http://share.framerjs.com/xyud52zsl5yr/.
Finally, if none of these solutions are what you had in mind, third party libraries are always an option.
The css method is perfect...thank you!!
CSS method might be slower because it's not hardware accelerated. It causes repairs I believe.