void mycolor(char* name="h_example"){ //Set up the colours I wish to use: const Int_t ncol = 9; Int_t colors[ncol]; TColor *col; Double_t dg=1.0/(1.0*(Double_t)ncol); // TColor::InitializeColors(); col->InitializeColors(); Double_t grey=0.; for (Int_t i=0; iGetColor(colors[i]); col->SetRGB(grey, grey, grey); grey += dg; } }