I'm a newbie about GIS. I'm from Italy and I've got a *.tif file of my region. I've loaded it has raster but I have a question:

The dem has a gradient colour magenta. How change this colour to typical "blu-green-yellow-brow" of Greografic representation?


2 Answers 2


The best plugin to use to do colour ramps on rasters is the 1-band raster color table v1.10 plugin. Found in the plugin installer under the same name.

enter image description here

  • mmm it seems useful..i i can't find it yet
    – alex
    May 29, 2012 at 9:54
  • what a idiot! I didn't know how install plugins. Now I've discovered. Forgive me! Thanks
    – alex
    May 29, 2012 at 10:07
  • I looked in plug-in installer (QGIS 1.8.x) and cannot find 1-band raster color table. I looked at official repository for plug-ins and do not see it. Has it been discontinuted in the year and a half since the answer above?
    – Catlike
    Dec 15, 2013 at 21:15

you can check out More Color Ramps for QGIS with Colorbrewer, here from user @underdark.

you can add your color code following xml file for qgis style manager..

If you want to use them, just import the following XML file into QGIS Style Manager:



i hope it helps you...

  • these don't work for raster layers. Only vectors.
    – Nathan W
    May 29, 2012 at 9:33
  • ah! it doesn't work for rasters, so it's not useful for me. I'd like to change my tif...a raster file
    – alex
    May 29, 2012 at 9:47
  • oh sorry, i didnt consider for raster...
    – urcm
    May 29, 2012 at 14:36
  • actually, you can use Colorbrewer ramps, but you have to do it via the Colorbrewer website and the 1-band color table plugin mentioned in Nathan W's answer. Export the color map from Colorbrewer using simple copy 'n paste, then in the plugin, choose the ColorBrewer palette, and paste in the dialog that comes up. Nov 29, 2012 at 8:31
  • This functionality should really be part of core QGIS, not hidden in a plugin...
    – markusN
    Dec 15, 2012 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.