I was wondering if there was a way to change the colour of an object from it’s original colour to a select few colours randomly. Say for example, the original colour is yellow and to randomly change it over time to red, blue, green (given specific RGB values).
I’m familiar with the ‘random ()’ expression and using it within the Color Balance effect to manipulate and change the Hue of an object – but that randomly changes the colour, not to a specific set of colours. Is there an expression or way to change to only a few colour values?
I’m wondering if this is possible with the ‘Change to Color’ effect, whereby you can change from original color to a specific colour and use the keyframes to time to change, but is there a way to do it from one colour to 3-4 different colours and in random sequence, rather than just keyframing from one color to the next?
Thanks for your reply. I tried another expression with the Fill Color effect. But I’m wondering how can I have the color start with the set color (which is the first color in the expression). Currently it alternates between the colours, but it starts with a white-ish color and I just want it to alternate between the 4 options.
I was wondering if there would be a way to make it so that both the first and last colour is the same (I.e. it starts with the first colour in the colour array, and when the sequence ends, it ends on the same colour) so as to be able to loop the entire sequence?