-
Change the Color of Multiple Layers With Change to Color Effect
Hello,
I am trying to change the value of many shape layers based on one adjustment layer which controls the main colors and a hue/saturation/lightness expression.
Here’s what I am working with:
Adjustment layer:
Color A on Shape layer A is pick whipped to the “Color Control” Effect called “A Color”.Then I added a “Change to Color” Effect, where I want to make the global changes to all the shape layers values via Hue, Saturation and Lightness. I am assuming that once I have the expression for Hue, I can copy and paste it to Saturation and Lightness.
Right now I have the following expression attached to the Change to Color – Hue.
color = effect(“Change Color (Global)”)(“Hue Transform”)
change = .2;
convert = rgbToHsl(color) – [0, 0, 0, change];
hslToRgb(convert);I really want to use expressions to do this effect and am wondering what I am doing wrong. I get the following error:
After Effects warning: Bad method arguments: argument 1 to rgbToHsl() must be of dimension 4
Expression disabled.What am I doing wrong?
Thanks in advance.-Dorian