Photoshop: Random Color chooser

  • 1
  • Idea
  • Updated 6 years ago
  • (Edited)
A hotkey assigned to get a random color...
Also may have configuration to set hue range etc. to get color from...
Photo of Sandeep Thakur

Sandeep Thakur

  • 20 Posts
  • 1 Reply Like

Posted 6 years ago

  • 1
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 769 Reply Likes
Probably not a super common request, and that could be done with a simple javascript.
Photo of Sandeep Thakur

Sandeep Thakur

  • 20 Posts
  • 1 Reply Like
Ya, you are right Chris...
Photo of Paul Riggott

Paul Riggott

  • 346 Posts
  • 132 Reply Likes
And here is a simple JavaScript to set a random colour for the foreground and background..

#target photoshop
var Colour = new SolidColor;
Colour.rgb.red = Math.ceil(255*Math.random());
Colour.rgb.green = Math.ceil(255*Math.random());
Colour.rgb.blue = Math.ceil(255*Math.random());
app.foregroundColor = Colour;
Colour.rgb.red = Math.ceil(255*Math.random());
Colour.rgb.green = Math.ceil(255*Math.random());
Colour.rgb.blue = Math.ceil(255*Math.random());
app.backgroundColor = Colour;
Photo of Sandeep Thakur

Sandeep Thakur

  • 20 Posts
  • 1 Reply Like
Thanks Paul, I am using your script now....
Thanks a lot....