When I look at the output with Apple's Digital Color Meter widget, it shows r:149, g:10, b:7. It is as if color curves are being applied to the programmed values, and seems to be true for all but pure black and white. (background(127, 127, 127) yields r: 145, g: 145, b: 145, etc.)
If I output a file from the app, the colors are correct as programmed, and read as expected in the color meter.
The only renderer this doesn't effect is OPENGL - the colors there are as expected.