This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Rohan K
Posted Sep 01 - Read on Facebook

Is it possible to specify color values in Utils.modulate? I am trying to change the color of a layer from red to green as it's x coordinate moves from 0 to 375


Rohan K

I could modulate individual values for r,g,b based on the x position and define the color using those values but I was looking for the color change to be more along the lines of a gradient spectrum.

Jonas Treub

Take a look at Color.mix

Jonas Treub

The sliderComponent snippet is a great example

Read the entire post on Facebook