Copy link to clipboard
Copied
Hey!
I have a video with some solid shapes, that animate from one color to another and back a few times. Currently I've simply used the "fill" effects and animated the color parameter. I now want to get some extra control over that by specifying the two fill colors using two "Color Control" effects.
How would I implement that? Especially the smooth fade between the colors.
Thanks for your input!
...didn't research properly...
Solution (from Andrei Popa on CreativeCow):
(put this expression on the "fill" effect)
Col=thisComp.layer("BG").effect("Slider Control")("Slider");
color1=thisComp.layer("SETTINGS").effect("Color 1")("Color");
color2=thisComp.layer("SETTINGS").effect("Color 2")("Color");
linear (Col,0,100,color1,color2)
Copy link to clipboard
Copied
...didn't research properly...
Solution (from Andrei Popa on CreativeCow):
(put this expression on the "fill" effect)
Col=thisComp.layer("BG").effect("Slider Control")("Slider");
color1=thisComp.layer("SETTINGS").effect("Color 1")("Color");
color2=thisComp.layer("SETTINGS").effect("Color 2")("Color");
linear (Col,0,100,color1,color2)
Copy link to clipboard
Copied
Good that you already found a solution!
If you have iExpressions, it also comes with a linear color link expression, which does not require you to touch any code at all:
Find more inspiration, events, and resources on the new Adobe Community
Explore Now