Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an SVG graphic in illustrator. I want to replace colors, everywhere in the illustration, with different ones. Could I operate the color swatch to make the change? I'm looking for a global process. Is this possible?

share|improve this question

.svg file basically uses xml syntax to store image data, so in order to replace all colors you don't even need any graphic editor. The fastest way I can think of is:

  1. Open the file in a text editor (Notepad should do it).
  2. Use "Find and replace" tool (CTRL + H on windows).
  3. As "Find text" enter the hex value you want to replace
  4. As "Replace with" use the the new hex value.
  5. Run find and replace on entire document.
  6. Save file.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.