This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Ben Rodenhäuser
Posted Feb 03 - Read on Facebook

Instead of using Utils.randomColor, is there a way of randomly selecting colors from a pre-defined array of options?

2 Comments

Jordan Robert Dobson

colors = ["red", "green", "blue"]
Utils.randomChoice(colors)

Ben Rodenhäuser

Thanks!

Read the entire post on Facebook