Problem: Unable to customize the heat map color ramp in ArcGIS Online
Description
The heat map color ramp in ArcGIS Online is not customizable, unlike the ones offered in ArcMap and ArcGIS Pro. In ArcGIS Online Map Viewer, limited options of pre-configured heat map color ramps are available by clicking the Symbols icon in the Change Style setting, as shown below. There is no option to customize the RGB (red, green, blue) or Hex values in the Change Style setting.
Cause
This is a known limitation in ArcGIS Online. The RGB value of a heat map color ramp is not customizable in ArcGIS Online Map Viewer, unless configured through the ArcGIS REST Administrator Directory page.
Solution or Workaround
The image below shows a pre-configured heat map color ramp by clicking the Symbols icon. Use the following workaround to customize the heat map color ramp in ArcGIS Online Map Viewer:

Note: To perform these steps, log in with administrator credentials.
- In ArcGIS Online, create a heat map from the desired point layer, and click Save Layer. This creates a feature layer in the My Content page.
- Open the item details page of the heat map feature layer, and click Publish. This creates a hosted feature layer in the My Content page.
- In the item details page of the hosted feature layer, navigate to the Layers section, and click Service URL.
- In the heat map layer's ArcGIS REST Services Directory URL, insert admin between the rest/services portion (as shown in the image below), and press Enter on the keyboard.
- In the ArcGIS REST Administrator Directory page, scroll to the bottom of the page, and click Update Definition.
- In the Update Layer Definition page, press Ctrl + F on the keyboard to open a search bar. Search for drawingInfo. The drawingInfo parameter lists the RGBA values of each heat map color stop in the format of red (R), green (G), blue (B), and alpha(A). The alpha value controls the color opacity.
- Change the RGB values as desired, and the alpha values if necessary. To determine the RGB values, use the RGB Calculator as reference.
Note: The alpha values range from 0 (fully transparent) to 255 (the default maximum value). Changing the maximum value to more than 255 is possible, but does not show any effect on the map. Ensure the alpha value of the first color stop is set to zero. Setting the alpha value of the first color stop to other than zero fills ArcGIS Online Map Viewer with a background color, as shown in the image below.
Ensure the alpha value of a color stop (other than the first color stop) is set to other than zero. Setting alpha values of color stops to zero creates hollow rings, as shown in the image below.
- In the search bar, search for lastEditDate. Change the lastEditDate value to " ".
- In the ASync field, select True.
- Click Update Layer Definition.
- Open ArcGIS Online Map Viewer and refresh the page.
The image below shows the customized heat map color ramp according to the desired RGB and alpha values.
Related Information
- ArcGIS Online help: Style location - Heat map
- ArcGIS Pro help: Color
- ArcGIS Blog: Create a custom color ramp
- FAQ: How can a heat map be created in ArcMap?
- FAQ: Is it possible to use 'No Color' in the ArcMap color ramp?
- How To: Create or edit an algorithmic color ramp
- How To: Add Color Ramps to the Color Scheme and Color Ramp dropdown lists on the Layer Properties Symbology tab
Last Published: 3/27/2019
Article ID: 000019958