<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Set symbol color from RGB values in attribute table with Arcade in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1021160#M36535</link>
    <description>&lt;P&gt;Xander,&lt;/P&gt;&lt;P&gt;Thanks for sharing that. I tried messing with the symbology in the map viewer beta but you're right, it is just for points at the moment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did use my rgb values and assigned them as symbology (using Arcade with the expression of:&lt;/P&gt;&lt;P&gt;"rgb(" + Text($feature.igds_color_red) + "," + Text($feature.igds_color_green) + "," + Text($feature.igds_color_blue) + ")"&lt;/P&gt;&lt;P&gt;But, like we have seen before, it just changes the symbology on the map itself and not in the TOC (this is 2.7). When I published that to AGOL, it did not take my new symbol colors.&lt;/P&gt;&lt;P&gt;ArcGIS Pro 2.7 view:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdrianWelsh_0-1611858803793.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4814i89AD43BD28357F68/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdrianWelsh_0-1611858803793.png" alt="AdrianWelsh_0-1611858803793.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AGOL view:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdrianWelsh_1-1611858874689.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4815i7AFFA2C4CDF529BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdrianWelsh_1-1611858874689.png" alt="AdrianWelsh_1-1611858874689.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose that I will have to manually change the colors of all my line types!&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jan 2021 18:36:12 GMT</pubDate>
    <dc:creator>AdrianWelsh</dc:creator>
    <dc:date>2021-01-28T18:36:12Z</dc:date>
    <item>
      <title>Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524959#M23108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a zoning maps for all the municipality over a&amp;nbsp; tri-county area. I have taken the time to code into the attributes an RGB value and the corresponding HEX code for the appropriate color based off of the APA's Land based Classification scheme this way every R1 zone weather its in muni A or muni Z has the same color. I have around 200 unique features and i really would like to not have to copy and paste my HEX codes into the symbol color picker one at a time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is a topic that has come up before but is not resolved satisfactorily in this thread&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/ideas/5870"&gt;Set symbol color from RGB values in attribute table&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it also is mostly for arc desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Pro&amp;nbsp;I have the&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/mapping/layer-properties/attribute-driven-color-in-symbology.htm" title="https://pro.arcgis.com/en/pro-app/help/mapping/layer-properties/attribute-driven-color-in-symbology.htm"&gt;Attribute-driven color in symbology—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which tells me that i must supply "&lt;A href="http://esriurl.com/arcade" style="color: #0074b8; background-color: #ffffff; text-decoration: none;" target="_blank"&gt;Arcade&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;expression that returns a string.&lt;SPAN&gt;&amp;nbsp;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4c4c4c;"&gt;all well and good and about as helpful&amp;nbsp;as mud...&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4c4c4c;"&gt;Does the string have to be formatted&amp;nbsp;as just R,G,B&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;Concatenate( "$feature['Units_in_M$.R'] + ", " + $feature['Units_in_M$.G'] + ", " + $feature['Units_in_M$.B'])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;or&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;(R,G,B)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;Concatenate( "(" + "$feature['Units_in_M$.R'] + ", " + $feature['Units_in_M$.G'] + ", " + $feature['Units_in_M$.B'] + ")" )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;rgba(r, g, b,a)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Concatenate( "rgba(" + $feature['Units_in_M$.R'] + "," + $feature['Units_in_M$.G'] + "," + $feature['Units_in_M$.B'] + ",0" +")" )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4c4c4c;"&gt;All of these verify as correct expressions yet none of them change the color of a symbol to the correct color that I am referencing&amp;nbsp;in my attribute&amp;nbsp;table.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4c4c4c;"&gt;I know it says that while the expression may be valid it may not symbolize correctly if the resulting text expression is not a real rgb color. I have also tried the above combinations with just hard coded (255,0,0) which should return red but it does not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Also&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4c4c4c;"&gt;As far as&amp;nbsp;I&amp;nbsp;can tell this may be just as time consuming&amp;nbsp;as inputting the correct color by hand as there does not appear to be a way to apply this code to all 200 features.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4c4c4c;"&gt;Am I missing something?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 21:49:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524959#M23108</guid>
      <dc:creator>ralphholmes</dc:creator>
      <dc:date>2018-06-13T21:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524960#M23109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey ESRI, some real world examples for writing Arcade code would be ideal. I'm not sure many working professionals say "Hmm, I'm going to learn Arcade today instead of working on my deadlines...."&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I spent several hours this weekend trying to find the answer for my problem in Arcade. Can discrete point colors not on a color scheme be displayed using Arcade?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have only one or a few different symbols, you can go into "format point symbol" (in my case), then click Properties, then layers. Expand Appearance.&amp;nbsp; Click the "database +" icon to the right of color. Select the field that contains your color. Press OK. Click Apply.&amp;nbsp; &amp;nbsp;Repeat for your other symbols.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp; implementation of "Vary Symbology by Attribute" is confusing unless it's done symbol by symbol.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I imagine even if I did create an Arcade script to return the color, the color scheme may over-ride the attribute values.&lt;/P&gt;&lt;P&gt;When I am in the format point symbol and have chosen a symbol, and then go to the 3 bars in the upper right and choose "Allow symbol property connections", it would have made more sense to go to "properties"&amp;gt;"layers" where I can choose which fields have my color info, versus the "vary symbol by attribute" window, which&amp;nbsp;&lt;STRONG&gt;doesn't&lt;/STRONG&gt; have the ability to create discrete colors based on the attribute.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a mix of hex values (#FF0000") color names (Green) and RGB values (255,0,255) in my marker_color field. &lt;STRONG&gt;Thankfully, ArcGIS Pro read each color with no difficulties!&lt;/STRONG&gt;&amp;nbsp;I didn't have to translate my different formats into one. Thanks! I saw a lot of python and VBscript examples, which I'm glad I didn't have to use.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Creating a cookbook blog entry that contains commonly used Arcade scripts for Pro. Comment the crap out of it so we can learn.&lt;/LI&gt;&lt;LI&gt;Expressing the limitations on what can't be done in Arcade.&lt;/LI&gt;&lt;LI&gt;Consider adding the "database plus" icon to live in the "Vary symbology by attribute" screen as well. Having the color scheme override the values in the table isn't useful to me.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'm hoping to be able to vary the symbol itself based on an attribute table. I don't think that's possible yet.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 01:46:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524960#M23109</guid>
      <dc:creator>GabrielMarcus1</dc:creator>
      <dc:date>2018-07-17T01:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524961#M23110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;+1 with same issue.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I prebaked a rgb(R,G,B) value into a new string field.&lt;/LI&gt;&lt;LI&gt;All values look good to me&lt;/LI&gt;&lt;LI&gt;Enable symbol property connections&lt;/LI&gt;&lt;LI&gt;Can't pick field from drop down&lt;/LI&gt;&lt;LI&gt;Arcade does not seem to flow through.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar scenario - I have property zones that I need to colour by the RGB value field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/450396_2.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Running ArcGIS Pro 2.4 Beta 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would love to see some examples, sure we can't be far off?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 15:24:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524961#M23110</guid>
      <dc:creator>SimonJackson</dc:creator>
      <dc:date>2019-06-14T15:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524962#M23111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"I'm hoping to be able to vary the symbol itself based on an attribute table. I don't think that's possible yet."&lt;BR /&gt;&lt;BR /&gt;This is currently frustrating me in a pretty big way. I'm currently trying to set three different colors for three different ranges of values from an attribute table. Were you able to figure out if you can use Arcade to vary the symbol by attribute table values? It seems like I will just have to try to set the discrete colors in ArcGIS Online. I hope I can.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2019 16:51:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524962#M23111</guid>
      <dc:creator>deleted-user-g91W1rr8qw5g</dc:creator>
      <dc:date>2019-07-05T16:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524963#M23112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This really does not seem to be working as described in the documentation. &lt;A href="https://community.esri.com/migrated-users/45316"&gt;Kory Kramer&lt;/A&gt;‌, if you have a moment could you clarify how&amp;nbsp;to make this work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 20:42:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524963#M23112</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-07-08T20:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524964#M23113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The text out of the expression needs to match the examples in the above linked help topic. If you're specifying alpha, you need a value from 0 to 1 with 0 being fully transparent and 1 being opaque. You also don't need the concatenate function in this case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, use:&lt;/P&gt;&lt;P&gt;"rgb(" + $feature['Units_in_M$.R'] + "," + $feature['Units_in_M$.G'] + "," + $feature['Units_in_M$.B']&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-or-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"rgba(" + $feature['Units_in_M$.R'] + "," + $feature['Units_in_M$.G'] + "," + $feature['Units_in_M$.B'] + ",1)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on what you're fields are, you may need to use the Arcade Text() function to format numbers to correct format as a string.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2019 20:19:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524964#M23113</guid>
      <dc:creator>CraigWilliams</dc:creator>
      <dc:date>2019-08-21T20:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524965#M23114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is&amp;nbsp;achievable as well using the attribute driven color approach. What issues are you having?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2019 20:22:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524965#M23114</guid>
      <dc:creator>CraigWilliams</dc:creator>
      <dc:date>2019-08-21T20:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524966#M23115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This case you're showing in the UI is &lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/mapping/layer-properties/vary-symbology-by-color.htm" title="https://pro.arcgis.com/en/pro-app/help/mapping/layer-properties/vary-symbology-by-color.htm"&gt;Vary symbology by color—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&amp;nbsp;which is for linking data values to a color not color values to a color. See&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/mapping/layer-properties/attribute-driven-color-in-symbology.htm" title="https://pro.arcgis.com/en/pro-app/help/mapping/layer-properties/attribute-driven-color-in-symbology.htm"&gt;Attribute-driven color in symbology—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;for color to color.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2019 20:23:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524966#M23115</guid>
      <dc:creator>CraigWilliams</dc:creator>
      <dc:date>2019-08-21T20:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524967#M23116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having the same issue.&amp;nbsp; If field1 &amp;lt;= 2 or field2 &amp;lt;=2 or field3 &amp;lt;=2 show the point as red.&amp;nbsp; If field1=3 or field2=3 or field3=3 show the point as yellow.&amp;nbsp; If field1=4 or field2 =4 or field3 =4 show the point as orange. Show any other point as green. I can't seem to get the expression right in the symbology for the feature class.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2019 18:22:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524967#M23116</guid>
      <dc:creator>John_RMellor__GISP</dc:creator>
      <dc:date>2019-08-23T18:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524968#M23117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/347540" target="_blank"&gt;Mellor, John&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your case is actually different from the one the OP posted.&amp;nbsp; Yours could be solved like this:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; field1 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// point to your field1&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; field2 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;3&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// point to your field2&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; field3 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// point to your field3&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; result &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"green"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;field1 &lt;SPAN class="operator token"&gt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;||&lt;/SPAN&gt; field2 &lt;SPAN class="operator token"&gt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;||&lt;/SPAN&gt; field3 &lt;SPAN class="operator token"&gt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    result &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"red"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;field1 &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;3&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;||&lt;/SPAN&gt; field2 &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;3&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;||&lt;/SPAN&gt; field3 &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;3&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    result &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"yellow"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;field1 &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;4&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;||&lt;/SPAN&gt; field2 &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;3&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;||&lt;/SPAN&gt; field3 &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;3&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    result &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"orange"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; result&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(shouldn't the yellow and orange assignments be switched, because now you will get red-yellow-orange-green and a more logical color range would be red-orange-yellow-green?)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:53:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524968#M23117</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-11T22:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524969#M23118</link>
      <description>&lt;P&gt;Hi Simon,&lt;/P&gt;
&lt;P&gt;We've been doing some work with a council in your state and figured out the exact process of how this symbology can be defined in ArcGIS Pro. Not very straightforward, I admit. Also, as a few other clients were after the same process, I decided that it'd be best to share the process as a blog:&amp;nbsp;&lt;A href="https://community.esri.com/people/iermoshkinesriaustralia-com-au-esridist/blog/2020/02/27/setting-up-the-attribute-driven-color-in-symbology-in-arcgis-pro-25" target="_blank"&gt;https://community.esri.com/people/iermoshkinesriaustralia-com-au-esridist/blog/2020/02/27/setting-up-the-attribute-driven-color-in-symbology-in-arcgis-pro-25&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, it seems that the process does actually work and the colors are read from the attribute field, there's a bug that prevents the legend from being created:&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEwNDMxNg==" target="_self"&gt;BUG-000104316: Attribute-driven symbology assigned to features is n..&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 19:01:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524969#M23118</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-02-08T19:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524970#M23119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your a gun Ivan! Nice work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 13:37:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/524970#M23119</guid>
      <dc:creator>SimonJackson</dc:creator>
      <dc:date>2020-02-27T13:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1020969#M36493</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1108"&gt;@XanderBakker&lt;/a&gt;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129401"&gt;@KoryKramer&lt;/a&gt;&amp;nbsp;&amp;nbsp;was this ever resolved? I am using 2.7 and it still seems to not follow the procedures outlined in the help documentation.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 14:13:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1020969#M36493</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2021-01-28T14:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1020974#M36494</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/73"&gt;@AdrianWelsh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote something explaining the procedure a while ago because it is possible to do this for a couple of versions now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/color-green-for-type-a-scale-of-yellow-red-for-type-b-white-for/m-p/342527" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-questions/color-green-for-type-a-scale-of-yellow-red-for-type-b-white-for/m-p/342527&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 14:22:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1020974#M36494</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-01-28T14:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1020986#M36497</link>
      <description>&lt;P&gt;Xander,&lt;/P&gt;&lt;P&gt;Thanks for writing that and responding. This method works on a manual basis where I have to go and assign each color. But not sure that is sustainable for a large dataset. Plus, my symbology in the TOC is not updating which makes me think it might not publish correctly in AGOL. In this screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdrianWelsh_0-1611844879961.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4775i0321674B90B7363F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdrianWelsh_0-1611844879961.png" alt="AdrianWelsh_0-1611844879961.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The centerline line is blue as it should be ("rgb(0,0,255)"). But in the TOC the centerline is the default light blue assigned in the original random symbology. The same goes for the outer green lines - rgb(0,255,0). They show as a light green (box culverts) in the TOC.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each line type I have has a red, green, and blue value. I was hoping to do an arcade expression to create the "rgb(red,green,blue)" value and apply to all my features at one time. Is that not possible (to where it will reflect in the TOC in order for me to publish correctly to AGOL)?&lt;/P&gt;&lt;P&gt;I have another layer I need to apply the same method to and it has 70 different symbol types (all indicated by r,g,b) that I need to apply. By hand this would take too long!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 14:52:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1020986#M36497</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2021-01-28T14:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1020988#M36498</link>
      <description>&lt;P&gt;Xander,&lt;/P&gt;&lt;P&gt;Thanks for writing that and responding. This method works on a manual basis where I have to go and assign each color. But not sure that is sustainable for a large dataset. Plus, my symbology in the TOC is not updating which makes me think it might not publish correctly in AGOL. In this screenshot:&lt;/P&gt;&lt;P&gt;(removed screenshot since it would not let me post. It is attached as an image)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The centerline line is blue as it should be ("rgb(0,0,255)"). But in the TOC the centerline is the default light blue assigned in the original random symbology. The same goes for the outer green lines - rgb(0,255,0). They show as a light green (box culverts) in the TOC.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each line type I have has a red, green, and blue value. I was hoping to do an arcade expression to create the "rgb(red,green,blue)" value and apply to all my features at one time. Is that not possible (to where it will reflect in the TOC in order for me to publish correctly to AGOL)?&lt;/P&gt;&lt;P&gt;I have another layer I need to apply the same method to and it has 70 different symbol types (all indicated by r,g,b) that I need to apply. By hand this would take too long!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;(upload didn't work, trying to copy and paste smaller screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdrianWelsh_1-1611845828384.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4779iEDD95CC8E8D48046/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdrianWelsh_1-1611845828384.png" alt="AdrianWelsh_1-1611845828384.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whoops! Sorry for the double post. I am not sure what happened there...&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 15:37:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1020988#M36498</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2021-01-28T15:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1021048#M36513</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/73"&gt;@AdrianWelsh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In the post I shared the case was a little more complex. Ignore the white and green points and focus on the orange points. The color is based on an attribute value and scaled over a color range. In your case, you will just use the rgb attribute and construct the correct string to return.&lt;/P&gt;&lt;P&gt;You can use the RGB values you have stored as attributes and assign them to the symbology. I have noticed that the Arcade based symbology does not get reflected correctly in the TOC (although I haven't checked this in 2.7) and I don't think AGOL will take that symbology once published.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are some nice enhancements in the Map Viewer beta for symbology based on SVG (&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/do-more-with-symbols-in-map-viewer-beta/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/do-more-with-symbols-in-map-viewer-beta/&lt;/A&gt;) but this is based on point geometry as far as I can see.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 16:06:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1021048#M36513</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-01-28T16:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1021160#M36535</link>
      <description>&lt;P&gt;Xander,&lt;/P&gt;&lt;P&gt;Thanks for sharing that. I tried messing with the symbology in the map viewer beta but you're right, it is just for points at the moment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did use my rgb values and assigned them as symbology (using Arcade with the expression of:&lt;/P&gt;&lt;P&gt;"rgb(" + Text($feature.igds_color_red) + "," + Text($feature.igds_color_green) + "," + Text($feature.igds_color_blue) + ")"&lt;/P&gt;&lt;P&gt;But, like we have seen before, it just changes the symbology on the map itself and not in the TOC (this is 2.7). When I published that to AGOL, it did not take my new symbol colors.&lt;/P&gt;&lt;P&gt;ArcGIS Pro 2.7 view:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdrianWelsh_0-1611858803793.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4814i89AD43BD28357F68/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdrianWelsh_0-1611858803793.png" alt="AdrianWelsh_0-1611858803793.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AGOL view:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdrianWelsh_1-1611858874689.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4815i7AFFA2C4CDF529BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdrianWelsh_1-1611858874689.png" alt="AdrianWelsh_1-1611858874689.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose that I will have to manually change the colors of all my line types!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 18:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1021160#M36535</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2021-01-28T18:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1021171#M36539</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/73"&gt;@AdrianWelsh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The behavior is as I expected. Maybe&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129401"&gt;@KoryKramer&lt;/a&gt;&amp;nbsp; knows when we may expect that the symbology is correctly represented in the TOC...&lt;/P&gt;&lt;P&gt;Hopefully, there will be support soon in the Map Viewer Beta to support this type of symbology.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 18:50:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1021171#M36539</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-01-28T18:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol color from RGB values in attribute table with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1021282#M36557</link>
      <description>&lt;P&gt;Xander,&lt;/P&gt;&lt;P&gt;I wonder if there is a way to use Python and arcpy to solve an issue like this when I have attributes of red, green, and blue in my table... But I do not know enough Python to make it through!&lt;/P&gt;&lt;P&gt;Looking at this information:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/symbol-class.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/symbol-class.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is a snippet showing:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy, os, sys
relpath = os.path.dirname(sys.argv[0])

p = arcpy.mp.ArcGISProject(os.path.join(relpath, "Symbol.aprx"))
m = p.listMaps('Map')[0]
lyr = m.listLayers("Study Areas")[0]
sym = lyr.symbology

sym.renderer.symbol.applySymbolFromGallery("Extent Transparent Wide Gray")
sym.renderer.symbol.color = {'RGB' : [255, 0, 0, 60]}
sym.renderer.symbol.outlineColor = {'CMYK' : [25, 50, 75, 25, 100]}
sym.renderer.symbol.size = 3

lyr.symbology = sym

p.saveACopy(os.path.join(relpath, "SavedOutput.aprx"))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would someone know a way to change that line of "&lt;SPAN&gt;sym.renderer.symbol.color = {&lt;/SPAN&gt;&lt;SPAN class="hljs-string"&gt;'RGB'&lt;/SPAN&gt;&lt;SPAN&gt; : [&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;255&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;60&lt;/SPAN&gt;&lt;SPAN&gt;]}&lt;/SPAN&gt;" to something like "&lt;SPAN&gt;sym.renderer.symbol.color = {&lt;/SPAN&gt;&lt;SPAN class="hljs-string"&gt;'RGB'&lt;/SPAN&gt;&lt;SPAN&gt; : [&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;$feature.red&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;$feature.green&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;$feature.blue&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;60&lt;/SPAN&gt;&lt;SPAN&gt;]}"? Or would that still present the same problems where the 'legend' in the TOC does not update?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 21:33:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-symbol-color-from-rgb-values-in-attribute/m-p/1021282#M36557</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2021-01-28T21:33:37Z</dc:date>
    </item>
  </channel>
</rss>

