AshMcConnell
10-10-2016 14:13:32
Hi Folks,
I am trying to set a background colour on my menus by setting the colour of a White widget: -
Unfortunately the colour that gets as #666062 according to my colour picker.

Any ideas what could be the issue? I thought it might be a gamma issue, but I set the conversion option to true like so: -
Thanks for you help!
I am trying to set a background colour on my menus by setting the colour of a White widget: -
_backgroundWidget = MyGUI::Gui::getInstance().createWidget<Widget>("MarkerWhite",0,0,width,height,Align::Stretch, "Wallpaper", name + "Background");
_backgroundWidget->setColour(MyGUI::Colour("#231F20"));
_backgroundWidget->setInheritsAlpha(false);
_backgroundWidget->setAlpha(1.0f);
Unfortunately the colour that gets as #666062 according to my colour picker.
Any ideas what could be the issue? I thought it might be a gamma issue, but I set the conversion option to true like so: -
_root->getRenderSystem()->setConfigOption("sRGB Gamma Conversion", "Yes");
Thanks for you help!