Chapter 14. Color Palettes

Color Palettes are groups of colors that are put together to achieve some specific effect. For ramps (continuous color) the colors show a smooth transition across a range of values, highlighting fast rates of change. For segments (discontinuous color) the colors represent individual classes of information.

Cartographica has a sophisticated palette management system which provides tools to create, modify, import, and use color palettes in any part of the program that uses color.

Colors may be dragged from almost any source and Cartographica will import palettes from the ColorBrewer site (or anything that exports in a similar format).

Palette management is done through the Palettes tab of the Uber Browser, which provides editing and previewing capabilities.

Uber Browser Showing Palettes Tab

Figure 14.1. Uber Browser Showing Palettes Tab


The palette tab is composed of two primary sections. The Palette List at the top of the window, which shows all available palettes that you have access to. The Palette Inspector at the bottom provides the tools to view the particulars of the palettes and make changes to them.

The Palette List shows the name and preview of each palette and a locked symbol if the palette is not editable.

The Palette Inspector shows the colors in the selected palette and whether the palette is Continuous (Cartographica interpolates out the colors in between) or Segmented (the colors are repeated in between).

To learn how to use palettes with vector and raster layers, see Applying a palette of colors to a set of styles and Changing a Raster Layer's palette

Create a new palette

  1. Choose Window  >  Show Uber Browser and click the Palettes tab to bring up the Palettes Tab of the Uber Browser.

  2. Click the Add (+) button to add a new palette.

    A single color palette will be added to the bottom of the list.

    Since the new palette is selected, the Palette Inspector shows the current colors in the palette and the Continuous button is selected.

  3. Click on the name column and enter a new name for the new palette.

  4. Click in the single gray-outlined box to add a new color to the palette.

    Always click here to add a color to the end of the palette

Removing a palette

  1. Choose Window  >  Show Uber Browser and click the Palettes tab to bring up the Palettes Tab of the Uber Browser.

  2. Click on the palette you wish to remove

    [Note]

    Palettes with the lock symbol next to them will not be editable or removable

  3. Click on the Remove(-) button

Color Picker

Figure 14.2. Color Picker


Changing a color in a palette

  1. Choose Window  >  Show Uber Browser and click the Palettes tab to bring up the Palettes Tab of the Uber Browser.

  2. Click on the palette in the Palette List to select it

    The colors of the palette will now be in the Palette Inspector

  3. Click on the color once to select it

    If the Color Picker is already up, the color will appear in it ready to be changed at this point

  4. Click on the color a second time to bring up the Color Picker

  5. Change the color using the color picker and the palette will change in unison.

Switching between ramp and segmented palettes

  1. Choose Window  >  Show Uber Browser and click the Palettes tab to bring up the Palettes Tab of the Uber Browser.

  2. Click on the palette in the Palette List to select it

    The colors of the palette will now be in the Palette Inspector

  3. At the top of the Palette Inspector, click on the Continuous button (left) to change to a ramp color palette or on the Segmented (right) to change the interpolation method.

Reversing the colors in a palette

  1. Choose Window  >  Show Uber Browser and click the Palettes tab to bring up the Palettes Tab of the Uber Browser.

  2. Click on the palette in the Palette List to select it

    The colors of the palette will now be in the Palette Inspector

  3. In the Palette Inspector, click on the reversal button to change the order of the colors.

Pasting a color brewer palette

ColorBrewer is a well-known resource for creating meaningful palettes for maps. Cartographica can accept palettes directly from the ColorBrewer site for use in the Palettes tab of the Uber Browser. Although we specifically point at ColorBrewer for good palettes, Cartographica can import Javascript-style CSS colors (hex,RGB,HSL) or a list of numbers where the Red, Green, and Blue components are separated by commas and have a range of 0-255 and where colors are separated by semicolons.

229, 245, 249; 153, 216, 201; 44, 162, 95; 

or

['#e5f5f9','#99d8c9','#2ca25f']
  1. Visit the ColorBrewer site to compose your palette

  2. When you are done creating your palette, click Export Your Colors to bring in the export window

  3. Copy the numbers in the box or just copy-n-paste

  4. Switch back to Cartographica

  5. Choose Window  >  Show Uber Browser and click the Palettes tab to bring up the Palettes Tab of the Uber Browser.

  6. Choose Edit  >  Paste to past the palette into your Palette Window

  7. Rename the color palette by clicking on the name and typing a new one.