Hi Dan,
What if I wanted to define the colors in the palette arrays with a few color pickers instead of numerical values? I tried this:
x=effect("Color Control")("Color");
x2=rgbToHsl(x);
y=effect("Color Control 2")("Color");
y2=rgbToHsl(y);
palette = [x2[0], x2[1], x2[2], x2[3]],[y2[0], y2[1], y2[2], y2[3]];
idx = (textIndex-1)%palette.length;
palette[idx]
I don’t get an error but the color reverts to the original text color (black), I know I’m missing a piece here…
Thanks!
Marissa
x=effect("Color Control")("Color");
x2=rgbToHsl(x);
y=effect("Color Control 2")("Color");
y2=rgbToHsl(y);
palette = [x2[0], x2[1], x2[2], x2[3]],[y2[0], y2[1], y2[2], y2[3]];
idx = (textIndex-1)%palette.length;
palette[idx]
After Effects template maniac
https://www.fluxvfx.com/