Color palatte and rootlogon

i write the following in my rootlogon.C

{
 cout << endl << "Welcome to rootlogon.C" << endl;


  TStyle *picassoStyle = new TStyle("PICASSO", "PICASSO approved plots sytle");

  picassoStyle->SetDrawBorder(0);
  picassoStyle->SetCanvasColor(kWhite);   
  picassoStyle->SetCanvasDefH(400);
  picassoStyle->SetCanvasDefW(600);
  picassoStyle->SetCanvasBorderMode(0);     
  picassoStyle->SetPadBorderMode(0);
  picassoStyle->SetPaintTextFormat("5.2f"); 
  picassoStyle->SetLineWidth(2);
  picassoStyle->SetTextSize(1.1);
  picassoStyle->SetLabelSize(0.04,"xy");
  picassoStyle->SetTitleSize(0.05,"xy");
  picassoStyle->SetTitleOffset(1.0,"x");
  picassoStyle->SetTitleOffset(1.6,"y");
  picassoStyle->SetPadTopMargin(0.05);
  picassoStyle->SetPadRightMargin(0.05);
  picassoStyle->SetPadBottomMargin(0.15);
  picassoStyle->SetPadLeftMargin(0.15);
  picassoStyle->SetLegendBorderSize(1);
  picassoStyle->SetFrameBorderMode(0);
  picassoStyle->SetFrameFillColor(kWhite);
  picassoStyle->SetTitleFillColor(kWhite);
  picassoStyle->SetStatFontSize(0.03);
  picassoStyle->SetStatBorderSize(1);
  picassoStyle->SetStatFormat("6.4g");
  picassoStyle->SetStatX(0.95);
  picassoStyle->SetStatY(0.95);
  picassoStyle->SetStatW(0.2);
  picassoStyle->SetStatH(0.2);
  picassoStyle->SetStatColor(kWhite);
  picassoStyle->SetTitleX(0.3);
  picassoStyle->SetTitleY(0.98);
  picassoStyle->SetTitleBorderSize(1);
  picassoStyle->SetTitleFontSize(0.06);
  picassoStyle->SetLegendBorderSize(1);
  gROOT->SetStyle("Plain");

  TColor::InitializeColors();
  const Int_t NRGBs = 5;
  const Int_t NCont = 90;

  Double_t stops[NRGBs] = { 0.00, 0.34, 0.61, 0.84, 1.00 };
  Double_t red[NRGBs]   = { 0.00, 0.00, 0.87, 1.00, 0.51 };
  Double_t green[NRGBs] = { 0.00, 0.81, 1.00, 0.20, 0.00 };
  Double_t blue[NRGBs]  = { 0.51, 1.00, 0.12, 0.00, 0.00 };
  TColor::CreateGradientColorTable(NRGBs, stops, red, green, blue, NCont);
  picassoStyle->SetNumberContours(NCont);
  gROOT->SetStyle("PICASSO"); //uncomment to set this style 

however, i am not able to take effect the RGB pallate for my 2D hist

You don’t say where your histograms come from.
If you are reading them from a file, search maybe for “ForceStyle” and “UseCurrentStyle” in http://root.cern.ch/download/doc/ROOTUsersGuideHTML/ch09s11.html
See also http://root.cern.ch/root/html/TStyle.html#TStyle:SetPalette and http://root.cern.ch/root/html/TColor.html#TColor:SetPalette and how “to reuse the palette MyPalette” in http://root.cern.ch/root/html/TColor.html and maybe also http://root.cern.ch/root/html/TH1.html#TH1:SetContour