Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

How do create a script that chooses a random swatch?

$
0
0

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


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>