ESM 263 Geographic Information Systems

ColorBrewer in QGIS

Colors in maps are tricky because aesthetics are obviously subjective. Even worse; distinguishing between two shades of green might be easy for some and impossible for others.

To help you with decisions about color, there is a great online application called ColorBrewer. It lets you specify what kind of data you’re trying to visualize, how how many classes you need to display, whether the colors should be “colorblind safe” (i.e., distinguishable by people with impaired color vision), and then presents you with a selection of color mappings.

Unfortunately you cannot automatically import the color ramps from this website (though you could manually specify the colors). Fortunately, QGIS has (somewhat clunky) built-in ColorBrewer color ramps.

Create a new Color Brewer Color Ramp

Figure 1: Open the style manager (Style Manager)

Figure 2: Add a Color Ramp

Figure 3: Configure Color Ramp

Figure 4: Naming Color Ramp

Now if you go to the Properties→Symbology tab of the layer you want to visualize, you should find your newly added color ramp in the selection options for the color ramp.

Figure 5: Set Color Ramp

Alternative

You can also add a new ColorBrewer color ramp manually from a layer’s Properties→Symbology tab:

Figure 6: Add ramp from layer properties

References