Skip to main content

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?

 

Be the first to reply!