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
Different color from AI/SVG to Moho
Moderators: Víctor Paredes, Belgarath, slowtiger
- synthsin75
- Posts: 10269
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Different color from AI/SVG to Moho
Moho is known to desaturate colors. I don't remember the technical reason why...maybe color depth...but Dennis (Greenlaw) would likely know.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Different color from AI/SVG to Moho
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.

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.
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.

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.
Last edited by Greenlaw on Fri Dec 17, 2021 10:47 am, edited 5 times in total.
NEW! Visit our Little Green Dog Channel on YouTube!
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
Re: Different color from AI/SVG to Moho
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.

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.

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.
NEW! Visit our Little Green Dog Channel on YouTube!
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
Re: Different color from AI/SVG to Moho
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
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