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
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.
Take a look at Color.mix
The sliderComponent snippet is a great example