Photoshop: Is it possible to add a quick color select without leaving the canvas, Via scroll wheel or hotkey?

  • 1
  • Question
  • Updated 2 years ago
  • (Edited)
I use adobe Photoshop for Pixel-Art, and Game Design. One of my favorite features is the ability to add colors to my own personal swatch panel. However I was wondering if there was a way to quickly change my current color using a shortcut (example being the mouse wheel) to quickly select different colors from my swatch panel without having to move my curser from the canvas.

I think this would greatly benefit artist that use graphic tablets, so they never have to move their pen from the canvas to select a different color.

Very sorry if this is already a feature, however I searched the forums and couldn't find quite what I was looking for.

Thank you for any advice. and if this is not currently a feature. I hope its thought of in an update sometime soon.
Photo of Michael Murray

Michael Murray

  • 2 Posts
  • 1 Reply Like
  • hopeful

Posted 2 years ago

  • 1
Photo of Max Johnson

Max Johnson, Champion

  • 523 Posts
  • 263 Reply Likes
I was able to grab the action manager script output and give the RGB a variable ... if you have any scripting experience, you might be able to turn this into some kind of script you could hotkey...

swatch = [100,0,255]
// =======================================================
var idsetd = charIDToTypeID( "setd" );
var desc20 = new ActionDescriptor();
var idnull = charIDToTypeID( "null" );
var ref8 = new ActionReference();
var idClr = charIDToTypeID( "Clr " );
var idFrgC = charIDToTypeID( "FrgC" );
ref8.putProperty( idClr, idFrgC );
desc20.putReference( idnull, ref8 );
var idT = charIDToTypeID( "T " );
var desc21 = new ActionDescriptor();
var idRd = charIDToTypeID( "Rd " );
desc21.putDouble( idRd, swatch[0] );
var idGrn = charIDToTypeID( "Grn " );
desc21.putDouble( idGrn, swatch[1] );
var idBl = charIDToTypeID( "Bl " );
desc21.putDouble( idBl, swatch[2] );
var idRGBC = charIDToTypeID( "RGBC" );
desc20.putObject( idT, idRGBC, desc21 );
var idSrce = charIDToTypeID( "Srce" );
desc20.putString( idSrce, """swatchesReplace""" );
executeAction( idsetd, desc20, DialogModes.NO );
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 15210 Posts
  • 2185 Reply Likes
You can only get colors without leaving the canvas with the HUD color wheel:
Photo of Max Johnson

Max Johnson, Champion

  • 523 Posts
  • 263 Reply Likes
Added to "Useful things I did not know."
Photo of Michael Murray

Michael Murray

  • 2 Posts
  • 1 Reply Like
Thank you for the fast replies! Ill have to practice with the color wheel for now. however when I have some more free time I will for sure look into possibly scripting something from the info max dug up.

Again thank you for the quick response. this was my first time using the photoshop community and I greatly appreciate it.