I'm creating a plugin on the Mac. If I fill my main component with 0xff232323, when I look at the colour with a zoomin tool, it's actually drawn as 0xff202020. In Pro Tools it's 0xff232323 as I'd expect.
It matters because I'm trying to draw an OpenGL component and I want it to match. If I fill the OpenGL component with OpenGLHelpers::clear(), on both hosts it actually fills with 0xff232323.
Most likely because OSX is applying some kind of colourspace conversion..? If not, then I don't know - certainly there's nowhere in juce that messes with the colours that it's drawing..
This is atually more of a general OS X issue, maybe the thread should be moved there. My monitors have different colour spaces, so when I was running plugin host on one and ProTools on the other, the colours didn't match. Anyway, here is a function to determine what colour a colour will actually be drawn.
Pass in uint32_t colour and Component::getWindowHandle()