Creating Rainbow text

Hey, Im creating a string of text where each layer is a different color. I have some js, and i put it in the customizer JS area. How do I call make it happen to the logo and other text?

Appreciate the help!
Rena

// Color variables:
red = [0, 100, 63];
orange = [40, 100, 60];
green = [75, 100, 40];
blue = [156, 77, 55];
purple = [320, 50, 60];

// Letters in the message will cycle through these colors:
letterColors = [red, orange, green, blue, purple];

message = ‘Fat Cat Paperie’;

drawName(message, letterColors);
bounceBubbles();

Hello @fatcatgraphics,

Thanks for asking. :slight_smile:

I suggest you to please take a look at solutions mentioned in following resources to have rainbow effect on texts.

https://codepen.io/cabron/pen/OVXXmj

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.