Jump to content

Recommended Posts

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

 

191397209_Screenshot2021-05-05at20_12_54.png.26fa0866369532d9e11e0209d6b22be0.png1786184756_Screenshot2021-05-05at20_13_33.png.5f84b51ef0d284aac258acb39b65e35f.png

Designer Swatch crash report.rtf

Edited by Mister Pietro
Posted
5 hours ago, Mister Pietro said:

when I export it as an SVG the colour changes to #9db2c5 (checked in the SVG code).

ade_svg_hex_export.png.49775240e34522674c621faa93933c56.png

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

Posted

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.

ade_rgb_hex.png.9186225ebd91a5f87b9a44cfbac29cd9.png

ade_rgb_hex_svg_textedit.png.b2bd54db61edd32e2d7f06abeb7aaa3a.png

ade_rgb_hex_svg_import.png.15a50b3d5e1c6364a9d06c127c8b72a9.png

ade_rgb_hex_svg_ai.png.b51d79b3003a8b4fb05852cbb2640012.png

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

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

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.