A little RGB mystery

Please help me solve a mystery. I have drawn a filled rectangle into a picture property of a canvas. My graphics.forecolor was set to rgb(255, 0, 0). When I check the color, using the pixel method, it reports 255, 0, 0 as expected. But when I check it using the DigitalColor Meter, it reports 255, 33, 20. This is driving me nuts. Can anyone enlighten me? I am using OS X Mountain Lion and release 3.1 of Xojo.

Color profile?

Hi, Jeff. Pardon my ignorance, but I don’t know.

The OS renders colors to screen based on the current color profile in your system/displays preferences. DigitalColor Meter is sampling the color corrected pixel, not the original color used to draw it.

Wikipedia is your friend :wink:

http://en.wikipedia.org/wiki/Color_calibration

Thanks, everybody. I’m all set.