Skip to main content
theteamaker
Participant
August 5, 2021
Answered

Colors get messed up on export to .SVG

  • August 5, 2021
  • 3 replies
  • 7957 views

Hello,

I am a novice user of Illustrator 2021 and I've run into a problem with exporting a background I've designed following this tutorial : https://www.youtube.com/watch?v=SoW7ue0p3mc

 

When exporting to .PNG the colors match those of my working file. Yet when exporting to. SVG and opening it in any browser, the colors are all washed out.


I've been browsing the support community and the web for an answer to my problem, and tried :

  • checking if the document color mode was in RGB, which it was
  • checking if the document color profile was sRGB, whch it was
  • checking if the color of the different objects weren't in greyscale, which they were not
  • saturating color of SVG file after export (see below), but the blues are different ; they look like the color mode is in CMYK



In short, I didn't have any luck with the solutions found so far so any help would be greatly appreciated !
Cheers,

This topic has been closed for replies.
Correct answer Ton Frederiks

Maybe you have used some transparency effects like a blending mode that is not supported in SVG.

3 replies

Ton Frederiks
Community Expert
Community Expert
August 5, 2021

Good to hear that helped.

Mylenium
Legend
August 5, 2021

Ton is spot on. Transparency is calculated differently in SVGs as are blending modes. You will need to change your procedures to get similar results, though technically there is zero advantage to SVG in your case. Large chunks of it will be rasterized as pixel data, anyway, and the complex rendering has no benefits in terms of performance or mobile-friendliness.

 

Mylenium

theteamaker
Participant
August 5, 2021

Well that's it ! I didn't know about blending and SVGs, and SVGs in general actually. I will go with PNGs and it will do.

Many thanks to you both!

Ton Frederiks
Community Expert
Ton FrederiksCommunity ExpertCorrect answer
Community Expert
August 5, 2021

Maybe you have used some transparency effects like a blending mode that is not supported in SVG.