TH2D color palette

I am working on a 2D histogram and I would like to change the color palette to log values. This is because I would like to be very sensitive in the lower range. Does anybody know the command?
maybe it is possible to set the color ranges manually? And increase the amount of colors?

The palette is the Z axis, so simply do:


c1 being the pad in which the histogram is drawn.