[GIS] Creating colormap where colors diverge at value 0 in QGIS

colorqgisraster

I calculated a raster as difference of two other rasters. Now I want to create a colormap where one colour represents negative values and one colour positive ones. The two colours should become lighter as they approach zero and around zero the colour should be white.

Here the colour scale I would like to use:

enter image description here

My problem in using the plugin "1 Band Raster Colour Table" is that it creates palettes where the colours diverge around some value above zero. In my case my values go from -6880 to 5539 with a mean of 104.

Best Answer

Ignore the plugin and just create a color map manually in layer properties - colormap tab with 0 as white and brown and green at the ends with linear interpolation.

Related Question