: How to change colour across multiple layers in Photoshop CS6 I've seen this type of question asked before, but I've not seen a satisfactory answer: I have a specific colour palette, and I can
I've seen this type of question asked before, but I've not seen a satisfactory answer:
I have a specific colour palette, and I can not stray from it at all; I have a specific green (32,144,24) on 93 layers, and I want to change it to a specific blue (24,32,144) on every layer.
I have 3 different colours on each layer, and multiple palettes to go through and export (93 layers * 3 colour replacements * X number of palettes = no way I'm doing it manually.)
Because of that, I decided to look for a script to do it for me.
I found two such scripts, but they both return errors when running, and do absolutely nothing.
I have no experience with javascript, so I wouldn't even know where to begin with writing my own script.
Met with no luck on my own, I decided to ask the internet for help.
Thanks in advance for actually reading the OP and offering any relevant advice.-John Shmoe
Edit:
Two such topics I've viewed that yielded no results:
Replace individual colors in multiple layers
Change the color of multiple layers at once in CS4
Example:
Replace colour 1 with colour A, colour 2 with colour B, etc. on every layer (again, imagine there are so many that doing it one-by-one would be ridiculous to even suggest.)
More posts by @Rambettina927
2 Comments
Sorted by latest first Latest Oldest Best
As I said in the comments use Replace Color. True, you'll need to run it for each layer (although you could do it for every layer automatically, keep reading) but it will be much faster than using the fill tool.
Why is that? Well because you can turn replace color into an action. This will require some initial set-up:
Go to your layer and replace color. Before hitting apply, make sure
you save it.
Repeat step one for each color you want to replace on
the layer.
Create an action.
While the action is recording, go to
Replace Color and load your saved files and apply them.
Repeat step 4 for each
one you saved in step 1.
Stop the action.
Now you can do this action (and assign it to a keyboard shortcut for speed) and repeat it for every layer.
You can do this for all layers as well but the process will be a bit more drawn out and really is only worth it if you have a lot of layers.
Do as I said above, and create the action. Then go to File -> Scripts -> Export Layers To Files... and go through that process. Now with each layer being saved out as its own image go to File -> Automate -> Batch and select your directory of images and the action you created. Run that.
If you're happy with that, you're done! Otherwise, if you want all your images back in one PSD go to Bridge and select your directory of images and go to Tools -> Photoshop -> Load Files into Photoshop Layers...
Now you should have what you started with more or less but with adjusted colors.
Any other solution would probably have to rely on external scripting, but that is also a worthwhile skill to learn.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.