Yes there is a way to do this, but it will take some experimenting on your part to get the color right - and even then, it may not be perfect. It may seem like a lot of steps, but they will go by quickly once you've done it a couple times
These steps need to be done for EACH color choice you want to create.
- Open one of the PNG files in Fireworks
- Press Ctrl+ A (Command+A for Mac)
- In the Properties Panel, click the "+" sign next to Filters
- Choose Adjust Color > Hue and Saturation
- Enable the Colorize option
- Experiment with the settings until you get the color/tint you want.
- Click OK.
- The selected object changes color.
- Select the History panel.
- Select the two steps (Select All and Set Live Filter)
- Click the disk icon to save these steps as a custom command. Seeing as you have several colors to create, I'd include the color in the file name.
- This command will now appear in the Commands menu, near the bottom of hte list
- Choose File > Revert to return the image to its original color. You will have to walk through the above steps for each color.
These next steps will vary slightly because you will have to choose a different custom command for each color you want to create.
- Choose File > Batch Process
- Broswe to the folder where your original images are located.
- Open the folder
- Choose Add All
- Click the NEXT button
- When the Batch window opens, expand the Commands list and locate the first color you want to generate.
- Click the ADD button
- Locate the Rename command and click ADD
- Higher in the List, choose the Export command and add it to the list as well.
- The recolor command should be first in the include list, followed by the Rename command and the Export command.
- Select the Rename Command from the Include list. Choose add Prefix or add Suffix (your preference).
- In the adjoining field, add suitable text (for example, red_ for a prefix or _red for a suffix)
- Select the Export command from the Include list to activate the export Settings lower in the window.
- Change the Export setting to Use Settings from Each File
- Click NEXT
- In the Saving Files pane, set a custom location for the files. (I'd recommend saving the script so that - in case you need to create additional images in the same color, you don't need to go through all these steps again.)
- Click Batch.
- Go have a coffee.
- Repeat this process, choosing the desired recolor command.
So while not totally automatic, at least you do not have to manually change every file. As I said, you will need to experiment with the Hue/Saturation Command to get the right colors, and even then, a perfect match may not be easy.
Ok, Thanks for your quick response. I will try that post-haste, but I have a doubt. I need to colorize these png files based on a list of hex color codes (see list below). Is there a way to colorize without useing hue and saturation, but to give it the color code and have it change to that color?
- Brown (715B4C)
- Red (CC0000)
- White (F7F7F6)
- Black (0B0B0B)
- Blue (4B687F)
- Burgundy (44242B)
- Green (37664F)
- Beige (E0D6B2)
- Tan (C7AB75)
- Dark Gray (686866)
- Gray (ABABA8)
- Clay (AEAC9A)
Thank you for your help!
Little details like that would have been very helpful in your original post. :-)
I don't have an immediate answer but if these graphics are only in bitmap form (instead of vector) I'm thinking no. Even in vector form it might not be possible. I will try a couple things and see if I can work up a solution, but before I do, please let me know if you have these graphics in vector format.
Sorry for not including the colors in the original post. As far as having a vector image, I don't. I was working with another guy in my class who created the vectors, but he has dropped out and I haven't been able to get the original files from him.
Well I've done some searching and testing and I don't have much good news for you. As bitmaps you have a lot of manual work ahead of you - in FW, anyway. Perhaps there is another solution in Photoshop.
If you had the vector files, you could have done a find and replace in FW to change the Fill color and it's possible that could have been converted to a custom command. but without the vectors . . .
Man, that sucks. Well, I'm still trying to get those vector files. If I where to get these files, what could I do to resolve my problem?
Thank you for all your help!
Use Edit > Find and replace to change the existing color to one of your hex colors. This command can be run on an entire folder.