4 Replies Latest reply on Aug 6, 2014 7:44 AM by cprout618

    How do create a script that chooses a random swatch?


      My idea is...instead of using math to create a random rgb number I want to choose specific color by hex or rgb and assign them a number 1-10 then use random() to choose a random number between 1-10 to choose one of those colors and place as foreground color. I just don't know javascript enough to create this script. Thank you