13    TCanvas *c = 
new TCanvas(
"grey", 
"Grey Scale", 500, 500);
 
   18    for (
int i = 0; i < n; i++) {
 
   19       for (
int j = 0; j < n; j++) {
 
   20          TBox *b = 
new TBox(n1*j, n1*(n-1-i), n1*(j+1), n1*(n-i));
 
   21          Float_t grey = Float_t(i*n+j)/(n*n);
 
   22          b->SetFillColor(TColor::GetColor(grey, grey, grey));
 
   26    TPad *p = 
new TPad(
"p",
"p",0.3, 0.3, 0.7,0.7);
 
   27    const char *guibackground = gEnv->GetValue(
"Gui.BackgroundColor", 
"");
 
   28    p->SetFillColor(TColor::GetColor(guibackground));
 
   31    TText *t = 
new TText(0.5, 0.5, 
"GUI Background Color");
 
   36    c->SetEditable(kFALSE);