Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Color darkens when exporting to PNG in RGB setting.

Community Beginner ,
Dec 03, 2016 Dec 03, 2016

I am using Adobe Illustrator 2017. I have a project using a certain shade of purple (# 9900cc). When I export to PNG it becomes darker. My document is set up in RGB color mode and I am only exporting for screens/web so I am not concerned about any other mediums.  I am able to get the proper color in a screen shot but I can't seem to export it properly from Illustrator. 

Screen Shot 2016-12-03 at 12.20.34 PM.pngScreen Shot 2016-12-03 at 12.21.02 PM.pngRoy G Business Card Color-01.png

The first picture shows the project in Illustrator and the color picker shows the color I am trying to use. The last picture on the right is the exported PNG. I did notice the triangle with the exclamation point, which says "Out of Gamut Warning", but if this has anything to do with my issue then I would like to know how to obtain my color regardless. If it can show up in illustrator and keep the color in a JPEG screen shot then there's got to be a way. Please Help!

18.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 03, 2016 Dec 03, 2016

Unfortunately Illustrator does not have a Convert to Profile, like Photoshop does.

Assign profile will not give you the result you want because it will use the same color values, but in a different RGB space resulting in a different color.

I would suggest this:

Change your RGB Color Settings to sRGB: Edit > Color Settings > use Generic or Web settings as long as the RGB Working Space is sRGB.

Copy your current (Adobe RGB profiled) artwork.

Create a new RGB document (this will have the sRGB working sp

...
Translate
Adobe
Community Expert ,
Dec 03, 2016 Dec 03, 2016

How is color management set up?

Which color profile for RGB space?

Which export function do you use?

How is it set up?

How do you measure the color value in the exported file?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 03, 2016 Dec 03, 2016

The document color mode is set to RGB and below are my current color settings

Screen Shot 2016-12-03 at 1.31.57 PM.png

To export I go to File>Export>Export as... and then I chose the png setting from the format menu. When I look at the exported PNG file it appears dark but if I were to open the exported file back into Illustrator and select "don't color manage" it opens as my original color (the one I want). If I go to upload that same image to a site it stays dark. I played around with the "Save for Web" export option choosing between PNG-8, PNG-24, JPEG, and GIF but the options they gave me appeared to actually make the purple lighter.

Screen Shot 2016-12-03 at 1.43.41 PM.png

I am still relatively new to the more complex settings so maybe its just something simple that I need to set. As far as how I measure the color value in the exported file, I don't know how I would measure it other than by eye.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2016 Dec 03, 2016

ocond70 schrieb:

When I look at the exported PNG file it appears dark

Use sRGB color profile when doing web stuff.

You can't just look at a file. Which app do you use to look at it? Which app do you use to measure the color values?

Everything system related might measure through some color mangement layer. Use Photoshop to measure your color.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 03, 2016 Dec 03, 2016

I hear you but I don't think I understand why looking at them side by side isn't a way to tell the difference.  If I can hold a screen shot next to the exported png and they are different shades on the same device and same Mac preview app then I don't understand how to obtain my intended color consistently from project to export.  When I open the export back up in illustrator or photoshop it views as my original color of 9900cc but not if I were to upload that file to a website as I attached to the feed.  I can upload the screen shot of the same color and it's exactly how I view it in the preview app so I know it's possible to view that color on the web and across different devices. It's just a matter of exporting the file with no color change.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2016 Dec 03, 2016

Your RGB document has probably the Adobe RGB working space.

You can check that in Edit > Assign Profile

If that is the case, you found the reason for the color difference.

Web graphics use the sRGB working space.

Make sure that in your Edit > Color Settings the RGB working space is sRGB when you create documents for web use.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 03, 2016 Dec 03, 2016

I was able to switch it from Adobe RGB to sRGB but that changes the color to the darker version in the project. I need the output to be the lighter version. Which is all good if I can use the color picker and somehow find another color code that matches my intended color but I use this color across so many projects that it would be a lot to convert.

Screen Shot 2016-12-03 at 2.19.34 PM.pngScreen Shot 2016-12-03 at 2.19.49 PM.png

I would ideally like to adjust the output settings so it exports exactly what I see in the project regardless off what color profile I use. Is that possible?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2016 Dec 03, 2016

Unfortunately Illustrator does not have a Convert to Profile, like Photoshop does.

Assign profile will not give you the result you want because it will use the same color values, but in a different RGB space resulting in a different color.

I would suggest this:

Change your RGB Color Settings to sRGB: Edit > Color Settings > use Generic or Web settings as long as the RGB Working Space is sRGB.

Copy your current (Adobe RGB profiled) artwork.

Create a new RGB document (this will have the sRGB working space) and paste the artwork.

This will convert the colors between Adobe RGB and sRGB while keeping the appearance (but change the numbers).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 03, 2016 Dec 03, 2016

Bingo! That solved it! It basically just assigned it a new color number in sRGB to match the number I had in RGB. I wasn't too concerned about the actual color ID, I just wanted it to match visually on the same device. I understand if it may look different from device to device but at least it's consistent. Thank you!

Screen Shot 2016-12-03 at 3.32.19 PM.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2016 Dec 03, 2016
LATEST

Another way (without creating new documents) would be this:

Change your RGB Color Settings to sRGB: Edit > Color Settings > use Generic or Web settings as long as the RGB Working Space is sRGB.

Cut your current (Adobe RGB profiled) artwork.

Go to Edit > Assign Profile... > Select Working RGB: sRGB IEC61966-2.1 and click OK

Paste your Artwork in front (Cmd F)

Save the document if you want to keep the conversion.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines