Pixel oddity

When I assign a color to a pixel, such as Mac’s Flora (66FF66) and then check the pixel’s color, Xojo says the color is 78F87F. Now if you put 66FF66 next to 78F87F you can barely tell the difference. The two colors are almost identical.

Why the oddity? Knowing the “why” may allow me to enter code to prevent a future crash…

TJ

Color profiles is why.
Different technologies use different profiles, most Apple displays automatically choose P3 (which is a wide gamut profile), while AFAIK Xojo uses the generic profile.

Colors are then translated to match profiles. There’s a whole science and a deep rabbit hole you can get lost in for weeks going crazy over color calibration. I have the t-shirt somewhere.

7 Likes