Mister Pietro Posted May 5, 2021 Posted May 5, 2021 (edited) I have an object in Affinity Designer with a colour of #a1b2c3 (for testing purposes) and when I export it as an SVG the colour changes to #9db2c5 (checked in the SVG code). This is driving me crazy and is preventing me from switching my workflow to Affinity. Can anyone help? This seems like such a basic failing. Designer Swatch crash report.rtf Edited May 5, 2021 by Mister Pietro Quote
loukash Posted May 6, 2021 Posted May 6, 2021 5 hours ago, Mister Pietro said: when I export it as an SVG the colour changes to #9db2c5 (checked in the SVG code). Quote MacBookAir 15": MacOS Sonoma > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 18 > Affinity v2
Mister Pietro Posted May 6, 2021 Author Posted May 6, 2021 13 hours ago, loukash said: This just changes the colour markup to a hex value instead for RGB. That's not what is going on here. Quote
loukash Posted May 6, 2021 Posted May 6, 2021 Isn't this what you want? What I've tried was creating an object, applying a color using the RGB Hex sliders, checking "Use hex colors" on export, then opening the SVG with TextEdit to read as plain text, opening the SVG with Designer to check, opening the SVG with Illustrator to double-check… The hex values are there as specified. Quote MacBookAir 15": MacOS Sonoma > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 18 > Affinity v2
lepr Posted May 6, 2021 Posted May 6, 2021 19 hours ago, Mister Pietro said: I have an object in Affinity Designer with a colour of #a1b2c3 (for testing purposes) and when I export it as an SVG the colour changes to #9db2c5 (checked in the SVG code). The SVG export will have colours specified in the sRGB colour space. If your Affinity document does not have sRGB profile, then its colours will be converted from the document profile to sRGB in the export, and so the hex codes will be changed to maintain the appearance of the colours. loukash 1 Quote
Mister Pietro Posted May 6, 2021 Author Posted May 6, 2021 1 hour ago, anon2 said: The SVG export will have colours specified in the sRGB colour space. If your Affinity document does not have sRGB profile, then its colours will be converted from the document profile to sRGB in the export, and so the hex codes will be changed to maintain the appearance of the colours. anon2 – you're the man (or woman, or undefined). You are correct. I discovered this earlier but it's great to have it confirmed. Thanks for taking the time to help. 👍 lepr 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.