Generate random colors for color picker

I have set the color of color picker to blue. How do I generate random colors in my rollout?

colorpicker cp "" color:blue across:2 width:40 pos:[10,40] offset:[0,40]

Thanks

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
DMZScripts's picture

I guess the simplest way

The simplest way would be this:

(color (random 1 255) (random 1 255) (random 1 255))

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.