Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Controlling the colors of multiple layers

  • Controlling the colors of multiple layers

    Posted by Kevin Reiner on March 22, 2007 at 1:51 pm

    Hello all,
    I am creating a transition effect that involves 6 layers that are similar in color, but different hues. However, I need about 10 different versions of this transition, each a different color set. So one set will have 6 red layers of varying red color, and then the next will have 6 layers of varying blue color. I was wondering if there was a way to make a control layer that changed all 6 layers to the colors I want. So let’s say I make the control layer have a slider control of 1=reds and 2=blues and so on. I was playing with the change to color effect being controlled by the slider, but I can’t get the slight differences in hues to work. I am not sure if I explained this well, so feel free to ask me further questions.

    Thanks,
    Reins

    Darby Edelen replied 19 years, 2 months ago 3 Members · 2 Replies
  • 2 Replies
  • Filip Vandueren

    March 22, 2007 at 2:04 pm

    Like you said, the problem is more in choosing which effect will do the trick, after that the Expressions should be easy enough.

    be aware that Curves, Levels and Hue/Saturation cannot be controlled via sliders and expressions because they use non-number based values.

    Levels has a brother calles Levels (Individual Controls) that can be automated.
    And Hue/Saturation has one called Colorbalance (HLS)

    Also check out the Tint or CC Toner Effect, you can create an expression controller that is a color chooser, and link the colors together.

    Depending on your project, it could even be as simple as creating a single Adjustment Layer with Color Balance HLS and shifting the Hues.
    You could set the layermode of the AdjLayer to Hue or Color if you find it does something weird with the brightness.

  • Darby Edelen

    March 22, 2007 at 7:06 pm

    There is a color picker expression effect that could be useful in this instance. Make a Null object called Color Control and add a Color Control Expression Effect to it.

    At this point there are a few different ways to achieve your desired result, I would use a CC Toner effect on each of the solids and pickwhip the color values of the CC Toner effect to the Color Control on the Null object.

    Then getting the layers to vary subtly in Hue could be achieved by adding a Hue/Saturation effect to each of the solids and varying it by your desired amount, say 5 degrees variation on the first, 10 degrees on the second. In this manner each solid in the Comp will take its base color from the Null object and have that color adjusted via the Hue/Saturation effect.

    Hope that helps!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy