I have a set of polygons that I need to symbolize with a certain color. I have an column in the attribute table that contains the contains the html hex color value (#FF0000 Red) that I want the polygon to be colored. Is there a way to symbolize the color based on the attribute value?

I see that this might be possible using ArcPy along with a .lyr file, but I am not very experienced with ArcPy, and the last post isn't that promising, stating that the symbology property is read-only. Using ArcPy to get layer symbology?

This post is making me think that it's not possible. Changing color of symbol in UniqueValuesSymbology object using ArcPy?

  • Unfortunately, the post that you mention has not received a valid answer because it is not possible as far as I know.
    – radouxju
    Commented Nov 24, 2015 at 20:36

2 Answers 2


If you want to switch to ArcGIS Pro, this is possible there:
(Note that ArcGIS Pro still has some cartographic limitations compared to ArcGIS for Desktop, such as a lack of frame indicators.)


I don't know of a way to use the hex color code as an attribute to automatically color code, but you can symbolize based on that column and color code based on that.

Unfortunately, you will have to look up the RGB color, as ArcMap does not use Hex Colors, unlike ArcGIS Online which now can - see Setting fill colors using hex value in ArcGIS Online (arcgis.com) webmap?


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.