Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Multiple specific Colour and stroke on text

  • Multiple specific Colour and stroke on text

  • graham smith

    December 23, 2020 at 10:24 am

    Good day to you all,

    I recently saw this tutorial.

    https://creativecow.net/forums/thread/random-change-to-specific-color/

    I’d like to fully understand how to use Dan’s expression and link the colour values to a colour picker (like a fill filter). I’m not sure how and which part of the expression to highlight and pickwhip to the colour value to control.

    Also

    Can this be done for more than 4 colours?

    Can this be applied to the stroke colour?

    I’m looking to make fully controllable text that has a 10 colour palette so i can either randomly or specifically chose colours for fill and stroke line

    stay safe out there

    Graham

    Random change to specific color

  • Dan Ebberts

    December 23, 2020 at 3:40 pm

    You could use color controls (or fill effects) and modify the first part of the expression to define the color array (with as many colors as you want) this way:

    c1 = effect("Color Control")("Color");

    c2 = effect("Color Control 2")("Color");

    c3 = effect("Color Control 3")("Color");

    c4 = effect("Color Control 4")("Color");

    c5 = effect("Color Control 5")("Color");

    colors = [c1,c2,c3,c4,c5];

  • graham smith

    December 23, 2020 at 6:15 pm

    Do i need to use the fill or color control on the same layer please?

    thank you btw

    stay safe

    G

  • Dan Ebberts

    December 23, 2020 at 6:51 pm

    No, you can put them anywhere, you just have to link to them with the c1, c2, etc. variables.

    Dan

  • graham smith

    December 30, 2020 at 9:53 am

    Sorry late reply. Thank you Dan

    Best for 2021

Viewing 1 - 5 of 5 posts

Log in to reply.

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