Page 1 of 1

Different color from AI/SVG to Moho

Posted: Thu Dec 16, 2021 7:36 pm
by Waldo2D
I noticed a difference in color (screen and rendering) after importing .ai . svg in Moho.
Color settings are the same!
Any idea's what's going on here? https://www.dropbox.com/s/8ip5e0502h6p0 ... f.png?dl=0

Re: Different color from AI/SVG to Moho

Posted: Thu Dec 16, 2021 8:01 pm
by synthsin75
Moho is known to desaturate colors. I don't remember the technical reason why...maybe color depth...but Dennis (Greenlaw) would likely know.

Re: Different color from AI/SVG to Moho

Posted: Fri Dec 17, 2021 3:19 am
by Greenlaw
I haven't seen this problem when exporting an SVG from AI to Moho and rendering. After seeing your image above, I ran a similar test to see if I got the same result, but my test turned out okay.

Here's what I did.

1. I created a color swatch in Adobe Illustrator using the color #CC7029.
2. Saved an SVG from AI for Moho.
3. Imported the SVG from Moho. Sampled the color and it was #CC7029.
4. Rendered the swatch to PNG using Moho Exporter. Sampled the color and it was still #CC7029.

Image

Curiously, when I sampled the color from Illustrator's display, I got #CD712A, not #CC7029. Visually, it's close but it appears Illustrator doesn't display the exact color in its viewport. Technically, the applied color in Illustrator #CC7029 is correct; AI just displays it incorrectly as #CD712A.

Anyway, I have a couple of guesses for what's going on with your system...

1. You're using Illustrator set to display with the CMYK display profile or something like that. You should be using the RGB profile for web stuff.

...or...

2. You're exporting the SVG with settings Moho doesn't like. I found that Moho likes SVGs saved with Save As...SVG rather than Export SVG. For some reason, Illustrator handles the SVG data differently between these two commands, and the result is more accurate with Save As...SVG and unpredictable with Export SVG.

Hope this helps.

Re: Different color from AI/SVG to Moho

Posted: Fri Dec 17, 2021 3:35 am
by Greenlaw
I wondered if there was a problem with FastStone Capture's color picker when samping from AI's screen, so I tried Instant Color Picker, the same one I used to sample the Moho swatch opened in XnView. ICP got the same sample result from the AI display port that FastStone Capture did, #CD712A.

Image

So it does appear Illustrator has a problem displaying its colors correctly. It's possible that I'm missing something in configuring AI for my monitor, but regardless, the swatch itself has the same color in AI, exported from AI, imported to Moho, and rendered out of Moho.

I didn't try exporting an SVG from Moho and importing that into AI yet. Will try that if I have time tonight.

Re: Different color from AI/SVG to Moho

Posted: Fri Dec 17, 2021 8:32 am
by Waldo2D
Thanks for the detailed feedback!
It seems you're right that illustrator.
The displayed color in Illustrator isn't correct...
When I color pick from the screen, the color is 'E6701C' en not 'CC7029' ...

I work in RGB space in AI, standaard settings.

Export tests with different SVG settings, didn't solve this.
(I normally use the 'SVG Exporter' script to export the .ai layers to different .svg files)

Anyway, I know now where the problem lies.

Luc