function onSample()
{
var rootBox = scene.rootBox;
if (rootBox)
{
var styleVar = rootBox.getStyle("fill");
if (styleVar && !styleVar.isNull)
{
shell.print("value = 0x" + styleVar.colorValue.toString(16).toLowerCase());
}
}
}