Skip to main content

Issue: Colors are not accurate while exporting to JPG.


Michael Mammoliti

Hello,

 

I am currently writing a software that recognises color differences. In my unit tests I am passing rgb values (i.e. blue: 0, 0, 255)

I tried to do some smoke tests with some images exported with figma. To my surprise my tests were failing, meaning the colors were not the same/accurate or there was a bug in my code.

To triple check I did not have a bug I’ve imported in Figma the exported images, used the color picker and yes Figma confirmed it to me as well.

 

Here my export settings:

  • Color profile: sRGB (this was basically the only option, selected by default)
  • Quality: High
  • Image Resampling: Detailed.

 

Could this be because of the color profile used while exporting? Does this happen to you as well? Is this supposed to be like this?

 

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings