If I create a new layer and draw into it with a single color, then change my foreground color, is there any way I can select the color I painted into the layer as my foreground color again, without using the dropper?
I'm trying to work it into an action and I want to select the color from the layer with no manual effort so the action runs smoothly.
The action's purpose is to let me take a raster shape that I've drawn on a layer and transform it into a Fill Layer shape with the same color as the original layer. The closest I've got is to create an action that works providing I manually select the color with the eyedropper before I run it, but it would be good to exclude that manual step.
Edit for clarification So on this image, I would want to turn Layer 3 (the teal layer) into a 'Base Layer' while preserving its shape and color, without having to manually set the color in any way.