scriptingphotoshopjsx

Photoshop script to get the color of a solid fill layer?


I'm trying to write a Photoshop jsx script for extracting color values from a PSD template. The colors are defined as separate fill layers that I'd like to be able to loop through and create a hash of {layer_name: #hex_color} values. I'm not finding any documentation on reading the color value of the fill layer.


Solution

  • I found my answer on this thread.