How to change colorbar

Hi, rooters

How to change the colorbar option, such as the color, to make my picture become more clear and more distinguishable.

My picture is TH2D, and the draw option is SURF3 and COLZ,
And I also tried LEGO2, the same results.

Best regrads

You can define your own palette or use a predefined palette, check and scroll down here:
https://root.cern/doc/master/classTColor.html#C05

Thanks dastudillo.Very instructive advice

Check also: The Rainbow Color Map - ROOT

Thanks couet.

The first thing I would try: gPad->SetLogz(1);

Yes, the blog post I posted suggest settting Log scale on Z.