If I create a new layer and draw into it with a single colour, then change my foreground colour, is there any way I can select the colour I painted into the layer as my foreground colour again, without using the dropper?
I'm trying to work it into an action and I want to select the colour from the layer with no manual effort so the action runs smoothly.
The actions 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 colour as the original layer. The closest I've got is to create an action that works providing I manually select the colour 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 it's shape and colour, without having to manually set the colour in any way.