HOW TO

Apply Hex or RGB color codes from an attribute field as a feature symbology in ArcGIS Pro

Last Published: July 20, 2023

Summary

In ArcGIS Pro, features in a layer can be symbolized as a single symbol or unique values, or through the graduated colors method. In some instances, the features of a layer must be symbolized based on Hex or RGB color codes from the layer's attribute field so they can be differentiated. This article describes the steps to add Hex or RGB color codes from the attribute field as a feature symbology in ArcGIS Pro.

Procedure

  1. In ArcGIS Pro, open the attribute table of the layer.
  2. Click the Add icon to add a new Text data type field. Populate the new field with the desired Hex or RGB color code value.

The image below shows an example of the Hex color codes.

Adding a new field and the desired Hex color codes

The image below shows an example of the RGB color codes.

Adding a new field and the desired RGB color codes
  1. In the Contents pane, right-click the layer, and click Symbology.
  2. In the Symbology pane, click the Vary symbology by attribute icon, and check the Allow symbol property connections check box.
The Symbology pane with the checked Allow symbol property connections check box
  1. Click the Primary symbology icon, and select the symbol next to Symbol.
The Primary symbology tab
  1. In the Format Polygon Symbol pane, click the Properties tab. After that, click the Layers tab.
  2. In the Appearance section, click the Set attribute mapping button next to Color.
The selected No attribute mapping icon
  1. In the Set Attribute Mapping dialog box, choose the field containing the color codes, and click OK.
The Set Attribute Mapping dialog box
  1. Click Apply.

The image below shows the Hex color codes applied to the features of the layer.

The colored map using the desired Hex/RGB color codes from the custom field

Article ID: 000024233

Software:
  • ArcGIS Pro 2 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options