{"id":492942,"date":"2019-04-24T11:11:08","date_gmt":"2019-04-24T18:11:08","guid":{"rendered":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=492942"},"modified":"2024-11-11T12:34:17","modified_gmt":"2024-11-11T20:34:17","slug":"bring-colors-from-your-map-into-your-pop-up-using-arcade","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade","title":{"rendered":"Bring Colors From Your Map Into Your Pop-up Using Arcade"},"author":6461,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[777102,22941],"tags":[32551,268131,176452,28061,212872],"industry":[],"product":[36551],"class_list":["post-492942","blog","type-blog","status-publish","format-standard","hentry","category-arcade","category-mapping","tag-arcade","tag-living-atlas","tag-mapping","tag-pop-ups","tag-popups","product-arcgis-online"],"acf":{"short_description":"Use an arcade expression to mimic the colors from your map into your pop-up text. ","flexible_content":[{"acf_fc_layout":"content","content":"<p>Want to make your maps easier to understand? One way to do this is to bring the colors from your map into your pop-up text. For example, this map uses this technique to show coral reef stations by the level of bleaching that is predicted to occur in different parts of the ocean. Notice how each symbol\u2019s alert color matches the pop-up text when clicking on different stations.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":492952,"id":492952,"title":"popupExampleGIF","filename":"popupExampleGIF.gif","filesize":191399,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popupExampleGIF.gif","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\/popupexamplegif","alt":"","author":"6461","description":"","caption":"","name":"popupexamplegif","status":"inherit","uploaded_to":492942,"date":"2019-04-16 19:59:57","modified":"2019-04-16 19:59:57","menu_order":0,"mime_type":"image\/gif","type":"image","subtype":"gif","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":800,"height":527,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popupExampleGIF-150x150.gif","thumbnail-width":150,"thumbnail-height":150,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popupExampleGIF.gif","medium-width":396,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popupExampleGIF.gif","medium_large-width":768,"medium_large-height":506,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popupExampleGIF.gif","large-width":800,"large-height":527,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popupExampleGIF.gif","1536x1536-width":800,"1536x1536-height":527,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popupExampleGIF.gif","2048x2048-width":800,"2048x2048-height":527,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popupExampleGIF-706x465.gif","card_image-width":706,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popupExampleGIF.gif","wide_image-width":800,"wide_image-height":527}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popupExampleGIF.gif"},{"acf_fc_layout":"content","content":"<p>This trick uses an <a href=\"https:\/\/developers.arcgis.com\/arcade\/\" target=\"_blank\" rel=\"noopener\">Arcade expression<\/a> within Map Viewer Classic to mimic the colors from the map into the pop-up text using hexadecimal color values. Arcade sits on top of ArcGIS in order to help you perform on-the-fly calculations in your maps. You don&#8217;t need to be a coder to write this expression, and we&#8217;ve provided some simplified steps below. It takes a few minutes to accomplish this and can greatly enhance the readability of the pop-ups within your maps and apps. It also helps reduce the necessity of a legend, especially in apps such as Cascade Story Maps.<\/p>\n<p>It can be done in three easy steps:<\/p>\n<ol>\n<li><strong>Get the hexadecimal color values from the map<\/strong><\/li>\n<li><strong>Build the arcade expression<\/strong><\/li>\n<li><strong>Use the arcade expression within the pop-up HTML<\/strong><\/li>\n<\/ol>\n<p>The map above classifies coral reef bleaching based on five different alert levels. Within the map, each of those alert levels is shown as a different color, which we will imitate in the pop-up. Let\u2019s get started!<\/p>\n<h2><strong>Step 1: Get the hexadecimal color values from the map<\/strong><\/h2>\n<p>Hexadecimal (or hex) values specify exact shades of color, making it easy to replicate colors that appear within your map. Once you are done setting the cartography for your map, grab the hex color values from each category in your map. You can do this by going into the symbology options for the layer and getting the hex values from the color picker window.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":493042,"id":493042,"title":"hex color","filename":"hex-color.gif","filesize":240401,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/hex-color.gif","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\/hex-color","alt":"","author":"6461","description":"","caption":"","name":"hex-color","status":"inherit","uploaded_to":492942,"date":"2019-04-16 20:25:40","modified":"2019-04-16 20:25:40","menu_order":0,"mime_type":"image\/gif","type":"image","subtype":"gif","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":800,"height":487,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/hex-color-150x150.gif","thumbnail-width":150,"thumbnail-height":150,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/hex-color.gif","medium-width":429,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/hex-color.gif","medium_large-width":768,"medium_large-height":468,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/hex-color.gif","large-width":800,"large-height":487,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/hex-color.gif","1536x1536-width":800,"1536x1536-height":487,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/hex-color.gif","2048x2048-width":800,"2048x2048-height":487,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/hex-color-764x465.gif","card_image-width":764,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/hex-color.gif","wide_image-width":800,"wide_image-height":487}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/hex-color.gif"},{"acf_fc_layout":"content","content":"<p>I like to take a screenshot of my legend with each hex value so that I can easily reference it later. In the coral reef example, I have five hex values. One for each alert level.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":493062,"id":493062,"title":"legend2","filename":"legend2.png","filesize":4984,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/legend2.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\/legend2-2","alt":"","author":"6461","description":"","caption":"","name":"legend2-2","status":"inherit","uploaded_to":492942,"date":"2019-04-16 20:30:47","modified":"2019-04-16 20:30:47","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":484,"height":242,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/legend2-150x150.png","thumbnail-width":150,"thumbnail-height":150,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/legend2.png","medium-width":464,"medium-height":232,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/legend2.png","medium_large-width":484,"medium_large-height":242,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/legend2.png","large-width":484,"large-height":242,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/legend2.png","1536x1536-width":484,"1536x1536-height":242,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/legend2.png","2048x2048-width":484,"2048x2048-height":242,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/legend2.png","card_image-width":484,"card_image-height":242,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/legend2.png","wide_image-width":484,"wide_image-height":242}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>I&#8217;ll be using this as my cheat-sheet later on when writing my arcade expression.<\/p>\n<h2><strong>Step 2: Build the arcade expression<\/strong><\/h2>\n<p>Within your layer options, <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/configure-custom-attribute-displays-pop-ups\/\">configure a custom pop-up<\/a> calling to the field that is being mapped. This is where you\u2019ll use the matching map color. In the coral reef map, I want to make the alert level text to be colored. This is what my pop-up looks like before I add the color:<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":493102,"id":493102,"title":"Popup BEFORE2","filename":"Popup-BEFORE2.png","filesize":194969,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Popup-BEFORE2.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\/popup-before2","alt":"","author":"6461","description":"","caption":"","name":"popup-before2","status":"inherit","uploaded_to":492942,"date":"2019-04-16 20:37:11","modified":"2019-04-16 20:37:11","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1122,"height":730,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Popup-BEFORE2-150x150.png","thumbnail-width":150,"thumbnail-height":150,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Popup-BEFORE2.png","medium-width":401,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Popup-BEFORE2.png","medium_large-width":768,"medium_large-height":500,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Popup-BEFORE2.png","large-width":1122,"large-height":730,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Popup-BEFORE2.png","1536x1536-width":1122,"1536x1536-height":730,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Popup-BEFORE2.png","2048x2048-width":1122,"2048x2048-height":730,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Popup-BEFORE2-715x465.png","card_image-width":715,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Popup-BEFORE2.png","wide_image-width":1122,"wide_image-height":730}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Popup-BEFORE2.png"},{"acf_fc_layout":"content","content":"<p>Now, write an arcade expression that will return a hex value based on data values from your layer. Within the configure pop-up pane, choose to add a new arcade expression to get started.<\/p>\n<p>In my example, I&#8217;ll match each alert level to its color. This can be accomplished using<a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/logic\/#if-statements\" target=\"_blank\" rel=\"noopener\"> if\/else logical statements<\/a> for each color. Here, we are mimicking the logic that is being accomplished by the map&#8217;s symbology. Using my cheat sheet from above, I&#8217;ll write a placeholder if(){} statement for each of my five scenarios. This will make it easy for me to fill in each scenario.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":493442,"id":493442,"title":"empty if statements","filename":"empty-if-statements.png","filesize":59339,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/empty-if-statements.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\/empty-if-statements","alt":"","author":"6461","description":"","caption":"","name":"empty-if-statements","status":"inherit","uploaded_to":492942,"date":"2019-04-16 22:11:08","modified":"2019-04-16 22:11:08","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1230,"height":781,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/empty-if-statements-150x150.png","thumbnail-width":150,"thumbnail-height":150,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/empty-if-statements.png","medium-width":411,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/empty-if-statements.png","medium_large-width":768,"medium_large-height":488,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/empty-if-statements.png","large-width":1230,"large-height":781,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/empty-if-statements.png","1536x1536-width":1230,"1536x1536-height":781,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/empty-if-statements.png","2048x2048-width":1230,"2048x2048-height":781,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/empty-if-statements-732x465.png","card_image-width":732,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/empty-if-statements.png","wide_image-width":1230,"wide_image-height":781}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/empty-if-statements.png"},{"acf_fc_layout":"content","content":"<p>Using the same field being mapped (alert level), type in the logic you want the expression to use for each scenario, and return the hex value for each if statement. For example, when my alert level is zero, I want it to return the hex code 2E578. To check if something is equal to something else, the double equal sign (==) is used. For all of the arcade logical operators, check out <a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/logic\/#operators\" target=\"_blank\" rel=\"noopener\">this part of the documentation<\/a>.<\/p>\n<p>The gif below shows how I built my first if statement:<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":493482,"id":493482,"title":"first if statement","filename":"first-if-statement.gif","filesize":98935,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/first-if-statement.gif","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\/first-if-statement","alt":"","author":"6461","description":"","caption":"Note: return the hex value with quotations around it to return it as text","name":"first-if-statement","status":"inherit","uploaded_to":492942,"date":"2019-04-16 22:20:35","modified":"2019-04-16 22:22:16","menu_order":0,"mime_type":"image\/gif","type":"image","subtype":"gif","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":800,"height":509,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/first-if-statement-150x150.gif","thumbnail-width":150,"thumbnail-height":150,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/first-if-statement.gif","medium-width":410,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/first-if-statement.gif","medium_large-width":768,"medium_large-height":489,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/first-if-statement.gif","large-width":800,"large-height":509,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/first-if-statement.gif","1536x1536-width":800,"1536x1536-height":509,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/first-if-statement.gif","2048x2048-width":800,"2048x2048-height":509,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/first-if-statement-731x465.gif","card_image-width":731,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/first-if-statement.gif","wide_image-width":800,"wide_image-height":509}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/first-if-statement.gif"},{"acf_fc_layout":"content","content":"<p>Repeat this logic for each if statement until all scenarios are handled. Test the expression to confirm that the expression is returning a hex value as a string. That way it will easily be absorbed in the pop-up configuration.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":493582,"id":493582,"title":"Test it","filename":"Test-it.gif","filesize":77527,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Test-it.gif","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\/test-it","alt":"","author":"6461","description":"","caption":"","name":"test-it","status":"inherit","uploaded_to":492942,"date":"2019-04-16 22:36:39","modified":"2019-04-16 22:36:39","menu_order":0,"mime_type":"image\/gif","type":"image","subtype":"gif","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":800,"height":509,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Test-it-150x150.gif","thumbnail-width":150,"thumbnail-height":150,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Test-it.gif","medium-width":410,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Test-it.gif","medium_large-width":768,"medium_large-height":489,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Test-it.gif","large-width":800,"large-height":509,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Test-it.gif","1536x1536-width":800,"1536x1536-height":509,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Test-it.gif","2048x2048-width":800,"2048x2048-height":509,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Test-it-731x465.gif","card_image-width":731,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Test-it.gif","wide_image-width":800,"wide_image-height":509}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Test-it.gif"},{"acf_fc_layout":"content","content":"<h2><strong>Step 3: Use the arcade expression within the pop-up HTML<\/strong><\/h2>\n<p>Now, use the arcade expression to tell your pop-up which hex colors to use. In the pop-up configuration panel, you&#8217;ll be able to see the name of the expression you wrote. You&#8217;ll need this in step 3. Mine was called {expression\/expr2}.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":493642,"id":493642,"title":"where is it","filename":"where-is-it.png","filesize":287936,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/where-is-it.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\/where-is-it","alt":"","author":"6461","description":"","caption":"","name":"where-is-it","status":"inherit","uploaded_to":492942,"date":"2019-04-16 22:44:39","modified":"2019-04-16 22:44:39","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1230,"height":781,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/where-is-it-150x150.png","thumbnail-width":150,"thumbnail-height":150,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/where-is-it.png","medium-width":411,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/where-is-it.png","medium_large-width":768,"medium_large-height":488,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/where-is-it.png","large-width":1230,"large-height":781,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/where-is-it.png","1536x1536-width":1230,"1536x1536-height":781,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/where-is-it.png","2048x2048-width":1230,"2048x2048-height":781,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/where-is-it-732x465.png","card_image-width":732,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/where-is-it.png","wide_image-width":1230,"wide_image-height":781}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/where-is-it.png"},{"acf_fc_layout":"content","content":"<p>Now is where the magic happens. Start by going into the custom text configuration of your pop-up.<\/p>\n<p>Select the text you want to be colored, and choose any color from the selector. Now, go into the HTML view of your pop-up and you&#8217;ll see where the color is defined within the HTML.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":493732,"id":493732,"title":"popup html","filename":"popup-html.gif","filesize":225672,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popup-html.gif","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\/popup-html","alt":"","author":"6461","description":"","caption":"","name":"popup-html","status":"inherit","uploaded_to":492942,"date":"2019-04-16 22:53:12","modified":"2019-04-16 22:53:12","menu_order":0,"mime_type":"image\/gif","type":"image","subtype":"gif","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":800,"height":636,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popup-html-150x150.gif","thumbnail-width":150,"thumbnail-height":150,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popup-html.gif","medium-width":328,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popup-html.gif","medium_large-width":768,"medium_large-height":611,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popup-html.gif","large-width":800,"large-height":636,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popup-html.gif","1536x1536-width":800,"1536x1536-height":636,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popup-html.gif","2048x2048-width":800,"2048x2048-height":636,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popup-html-585x465.gif","card_image-width":585,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popup-html.gif","wide_image-width":800,"wide_image-height":636}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/popup-html.gif"},{"acf_fc_layout":"content","content":"<p>In the HTML, swap the random color hex value to be the expression we wrote. This will assign the text color based on the arcade expression. Save all of your settings and check that the pop-up works as expected.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":493762,"id":493762,"title":"HTMLwithExpressionHighlighted","filename":"HTMLwithExpressionHighlighted.png","filesize":265867,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/HTMLwithExpressionHighlighted.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\/htmlwithexpressionhighlighted","alt":"","author":"6461","description":"","caption":"","name":"htmlwithexpressionhighlighted","status":"inherit","uploaded_to":492942,"date":"2019-04-16 22:57:45","modified":"2019-04-16 22:57:45","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1510,"height":922,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/HTMLwithExpressionHighlighted-150x150.png","thumbnail-width":150,"thumbnail-height":150,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/HTMLwithExpressionHighlighted.png","medium-width":427,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/HTMLwithExpressionHighlighted.png","medium_large-width":768,"medium_large-height":469,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/HTMLwithExpressionHighlighted.png","large-width":1510,"large-height":922,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/HTMLwithExpressionHighlighted.png","1536x1536-width":1510,"1536x1536-height":922,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/HTMLwithExpressionHighlighted.png","2048x2048-width":1510,"2048x2048-height":922,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/HTMLwithExpressionHighlighted-762x465.png","card_image-width":762,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/HTMLwithExpressionHighlighted.png","wide_image-width":1510,"wide_image-height":922}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/HTMLwithExpressionHighlighted.png"},{"acf_fc_layout":"image","image":{"ID":494292,"id":494292,"title":"final popup","filename":"final-popup.gif","filesize":306846,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/final-popup.gif","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\/final-popup","alt":"","author":"6461","description":"","caption":"","name":"final-popup","status":"inherit","uploaded_to":492942,"date":"2019-04-17 20:47:13","modified":"2019-04-17 20:47:13","menu_order":0,"mime_type":"image\/gif","type":"image","subtype":"gif","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":600,"height":428,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/final-popup-150x150.gif","thumbnail-width":150,"thumbnail-height":150,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/final-popup.gif","medium-width":366,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/final-popup.gif","medium_large-width":600,"medium_large-height":428,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/final-popup.gif","large-width":600,"large-height":428,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/final-popup.gif","1536x1536-width":600,"1536x1536-height":428,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/final-popup.gif","2048x2048-width":600,"2048x2048-height":428,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/final-popup.gif","card_image-width":600,"card_image-height":428,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/final-popup.gif","wide_image-width":600,"wide_image-height":428}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/final-popup.gif"},{"acf_fc_layout":"content","content":"<p>Now, you&#8217;re pop-up is easier to understand (and it looks cool, too). To check out the final map and arcade statements, click <a href=\"https:\/\/www.arcgis.com\/home\/webmap\/viewer.html?webmap=48c2a48ae7bd44a6882b56b29a9a8503\" target=\"_blank\" rel=\"noopener\">here<\/a>. You can also check out the Living Atlas <a href=\"https:\/\/www.arcgis.com\/apps\/opsdashboard\/index.html#\/84ba9c03786e462d960e3172bc1b2204\" target=\"_blank\" rel=\"noopener\">dashboard<\/a> and <a href=\"https:\/\/www.arcgis.com\/home\/item.html?id=26e71d14067c4b3f8dd31d1a4e008cfb\" target=\"_blank\" rel=\"noopener\">layer<\/a> that inspired this blog.<\/p>\n<h2><strong>Concluding thoughts<\/strong><\/h2>\n<ul>\n<li>There are alot of ways you can write your arcade expressions. Every dataset is different so every arcade statement will be unique to your data. If your colors fall between a range of data values, you&#8217;ll need to use different logical operations (&lt;, &gt;, ||, &amp;&amp;, etc).<\/li>\n<li>The example in this blog shows a unique category map, but this technique would also work with a classified thematic map, predominance, or even a relationship map. The arcade statements for those styles would be a little different. Check out <a href=\"https:\/\/www.arcgis.com\/home\/webmap\/viewer.html?webmap=8e3b994782444345953a30e2a6e5ab23\" target=\"_blank\" rel=\"noopener\">this map for a predominance example<\/a>. Within this example, click &#8220;Modify Map&#8221; at the top right and then view the arcade expressions within the popup configuration of the layers.<\/li>\n<li>Keep in mind that light colors such as yellow may not work great for text colors.<\/li>\n<li>To save time, I would suggest waiting to do this step last when creating your web map. That way you won&#8217;t have to go back and change the arcade statement if any colors change in your map.<\/li>\n<\/ul>\n<p>Happy mapping!<\/p>\n"}],"authors":[{"ID":6461,"user_firstname":"Lisa","user_lastname":"Berry","nickname":"Lisa Berry","user_nicename":"lisa_berry","display_name":"Lisa Berry","user_email":"LBerry@esri.com","user_url":"","user_registered":"2018-03-02 00:18:23","user_description":"I am a Principal GIS Engineer and ArcGIS Living Atlas Evangelist at Esri. I promote all things Living Atlas, ArcGIS Online, ArcGIS Arcade, Smart Mapping, python, and cartography. I also specialize in socioeconomic and demographic datasets within Living Atlas, and how to visualize them.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/05\/UC-2024-Plenary-213x200.png' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"}],"related_articles":[{"ID":128671,"post_author":"6461","post_date":"2018-04-18 22:28:53","post_date_gmt":"2018-04-18 22:28:53","post_content":"","post_title":"Combining Arcade and HTML for a Real-life Pop-up Display","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"combining-arcade-and-html-for-a-real-life-pop-up-display","to_ping":"","pinged":"","post_modified":"2024-11-11 12:37:44","post_modified_gmt":"2024-11-11 20:37:44","post_content_filtered":"","post_parent":0,"guid":"http:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=128671","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"1","filter":"raw"},{"ID":350682,"post_author":"8492","post_date":"2018-11-05 10:30:56","post_date_gmt":"2018-11-05 18:30:56","post_content":"","post_title":"Automatically Resize Symbols by Map Scale in Arcade","post_excerpt":"","post_status":"publish","comment_status":"closed","ping_status":"closed","post_password":"","post_name":"automatically-resize-symbols-by-map-scale-in-arcade","to_ping":"","pinged":"","post_modified":"2024-11-11 12:36:30","post_modified_gmt":"2024-11-11 20:36:30","post_content_filtered":"","post_parent":0,"guid":"http:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=350682","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"},{"ID":76991,"post_author":"6561","post_date":"2017-05-23 07:00:12","post_date_gmt":"2017-05-23 07:00:12","post_content":"","post_title":"Creating a predominance visualization with Arcade","post_excerpt":"","post_status":"publish","comment_status":"closed","ping_status":"closed","post_password":"","post_name":"creating-a-predominance-visualization-with-arcade","to_ping":"","pinged":"","post_modified":"2024-11-11 12:39:59","post_modified_gmt":"2024-11-11 20:39:59","post_content_filtered":"","post_parent":0,"guid":"http:\/\/www.esri.com\/arcgis-blog\/products\/product\/uncategorized\/creating-a-predominance-visualization-with-arcade\/","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"},{"ID":403392,"post_author":"6561","post_date":"2019-01-15 08:00:41","post_date_gmt":"2019-01-15 16:00:41","post_content":"","post_title":"Create powerful popups in web apps with Arcade feature sets","post_excerpt":"","post_status":"publish","comment_status":"closed","ping_status":"closed","post_password":"","post_name":"create-powerful-popups-in-web-apps-with-arcade-feature-sets","to_ping":"","pinged":"","post_modified":"2024-11-11 12:35:28","post_modified_gmt":"2024-11-11 20:35:28","post_content_filtered":"","post_parent":0,"guid":"http:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=403392","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"}],"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/Card-1.png","wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/banner2.png"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Bring Colors From Your Map Into Your Pop-up Using Arcade<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bring Colors From Your Map Into Your Pop-up Using Arcade\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-11T20:34:17+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\"},\"author\":{\"name\":\"Lisa Berry\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/6f2255e7fbc5bc8827910ce81e212a2e\"},\"headline\":\"Bring Colors From Your Map Into Your Pop-up Using Arcade\",\"datePublished\":\"2019-04-24T18:11:08+00:00\",\"dateModified\":\"2024-11-11T20:34:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\"},\"wordCount\":10,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"arcade\",\"Living Atlas\",\"mapping\",\"pop-ups\",\"popups\"],\"articleSection\":[\"Arcade\",\"Mapping\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\",\"name\":\"Bring Colors From Your Map Into Your Pop-up Using Arcade\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2019-04-24T18:11:08+00:00\",\"dateModified\":\"2024-11-11T20:34:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bring Colors From Your Map Into Your Pop-up Using Arcade\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/6f2255e7fbc5bc8827910ce81e212a2e\",\"name\":\"Lisa Berry\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/05\/UC-2024-Plenary-213x200.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/05\/UC-2024-Plenary-213x200.png\",\"caption\":\"Lisa Berry\"},\"description\":\"I am a Principal GIS Engineer and ArcGIS Living Atlas Evangelist at Esri. I promote all things Living Atlas, ArcGIS Online, ArcGIS Arcade, Smart Mapping, python, and cartography. I also specialize in socioeconomic and demographic datasets within Living Atlas, and how to visualize them.\",\"sameAs\":[\"https:\/\/www.instagram.com\/lisaberry_gis\/\",\"lisaberrygis\",\"https:\/\/x.com\/lisaberry_gis\"],\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/lisa_berry\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Bring Colors From Your Map Into Your Pop-up Using Arcade","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade","og_locale":"en_US","og_type":"article","og_title":"Bring Colors From Your Map Into Your Pop-up Using Arcade","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2024-11-11T20:34:17+00:00","twitter_card":"summary_large_image","twitter_site":"@ESRI","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade"},"author":{"name":"Lisa Berry","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/6f2255e7fbc5bc8827910ce81e212a2e"},"headline":"Bring Colors From Your Map Into Your Pop-up Using Arcade","datePublished":"2019-04-24T18:11:08+00:00","dateModified":"2024-11-11T20:34:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade"},"wordCount":10,"commentCount":3,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["arcade","Living Atlas","mapping","pop-ups","popups"],"articleSection":["Arcade","Mapping"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade","name":"Bring Colors From Your Map Into Your Pop-up Using Arcade","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2019-04-24T18:11:08+00:00","dateModified":"2024-11-11T20:34:17+00:00","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/bring-colors-from-your-map-into-your-pop-up-using-arcade#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"Bring Colors From Your Map Into Your Pop-up Using Arcade"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/6f2255e7fbc5bc8827910ce81e212a2e","name":"Lisa Berry","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/05\/UC-2024-Plenary-213x200.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/05\/UC-2024-Plenary-213x200.png","caption":"Lisa Berry"},"description":"I am a Principal GIS Engineer and ArcGIS Living Atlas Evangelist at Esri. I promote all things Living Atlas, ArcGIS Online, ArcGIS Arcade, Smart Mapping, python, and cartography. I also specialize in socioeconomic and demographic datasets within Living Atlas, and how to visualize them.","sameAs":["https:\/\/www.instagram.com\/lisaberry_gis\/","lisaberrygis","https:\/\/x.com\/lisaberry_gis"],"url":"https:\/\/www.esri.com\/arcgis-blog\/author\/lisa_berry"}]}},"text_date":"April 24, 2019","author_name":"Lisa Berry","author_page":"https:\/\/www.esri.com\/arcgis-blog\/author\/lisa_berry","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2019\/04\/banner2.png","primary_product":"ArcGIS Online","tag_data":[{"term_id":32551,"name":"arcade","slug":"arcade","term_group":0,"term_taxonomy_id":32551,"taxonomy":"post_tag","description":"","parent":0,"count":113,"filter":"raw"},{"term_id":268131,"name":"Living Atlas","slug":"living-atlas","term_group":0,"term_taxonomy_id":268131,"taxonomy":"post_tag","description":"","parent":0,"count":89,"filter":"raw"},{"term_id":176452,"name":"mapping","slug":"mapping","term_group":0,"term_taxonomy_id":176452,"taxonomy":"post_tag","description":"","parent":0,"count":60,"filter":"raw"},{"term_id":28061,"name":"pop-ups","slug":"pop-ups","term_group":0,"term_taxonomy_id":28061,"taxonomy":"post_tag","description":"","parent":0,"count":39,"filter":"raw"},{"term_id":212872,"name":"popups","slug":"popups","term_group":0,"term_taxonomy_id":212872,"taxonomy":"post_tag","description":"","parent":0,"count":12,"filter":"raw"}],"category_data":[{"term_id":777102,"name":"Arcade","slug":"arcade","term_group":0,"term_taxonomy_id":777102,"taxonomy":"category","description":"","parent":0,"count":99,"filter":"raw"},{"term_id":22941,"name":"Mapping","slug":"mapping","term_group":0,"term_taxonomy_id":22941,"taxonomy":"category","description":"","parent":0,"count":2701,"filter":"raw"}],"product_data":[{"term_id":36551,"name":"ArcGIS Online","slug":"arcgis-online","term_group":0,"term_taxonomy_id":36551,"taxonomy":"product","description":"","parent":0,"count":2435,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=arcgis-online","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/492942","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/6461"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=492942"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/492942\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=492942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=492942"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=492942"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=492942"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=492942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}