Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Slider to change colors

  • Slider to change colors

  • rica maru

    June 11, 2021 at 3:13 am

    I have a video I’m doing all in vectors and i decided to make all colors linked with expressions to make quick versions

    By the end of the animation I will have to make one color change to another over time.

    If was just animation, I’d just put one keyframe on 0s and another with a different color on 1s

    But since I’m trying to keep all the colors linked I was wondering if there’s a way to make it a slider that if set to 0, gets color from “color control 01” and if it’s 100, get form “color control 02″ and than I can just animate this slider and the magic happens.

    Any idea on how to achieve this? I’m fairly new to expressions.

    If/else worked to swap one for the other but not to animate.

    Please help 🙂

  • Dan Ebberts

    June 11, 2021 at 1:28 pm

    It might be as simple as this:

    c1 = effect("color control 01")("Color");

    c2 = effect("color control 02")("Color");

    s = effect("Slider Control")("Slider");

    linear(s,0,100,c1,c2)

Viewing 1 - 2 of 2 posts

Log in to reply.

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