{"id":1435,"date":"2017-11-15T22:18:12","date_gmt":"2017-11-16T03:18:12","guid":{"rendered":"https:\/\/toddbaginski.com\/blog\/?p=1435"},"modified":"2018-06-04T14:46:57","modified_gmt":"2018-06-04T18:46:57","slug":"how-to-use-a-custom-background-color-on-the-powerapp-loading-screen","status":"publish","type":"post","link":"https:\/\/toddbaginski.com\/blog\/how-to-use-a-custom-background-color-on-the-powerapp-loading-screen\/","title":{"rendered":"HOW TO: Use a custom background color on the PowerApp loading screen"},"content":{"rendered":"<p>When you create a PowerApp, you get to choose from 25 different background colors for the loading page.\u00a0 What if you want to match the color to your PowerApp&#8217;s icon and it is a different color than the 25 available in the editor?\u00a0 Can it be done?\u00a0 Well, <em><strong>of course it can be done<\/strong><\/em>, otherwise I wouldn&#8217;t write a blog post about it.\u00a0 This article shows you how to do it.<\/p>\n<p>To make reading this blog post as awesome as possible, I highly recommend listening to Pink Floyd&#8217;s Any Colour You Like in another browser window by clicking <a href=\"https:\/\/www.youtube.com\/watch?v=bK7HJvmgFnM\" target=\"_blank\" rel=\"noopener\">this link<\/a>.<\/p>\n<p>Here&#8217;s a screenshot that shows a PowerApp I&#8217;m working on.\u00a0 As you can see the icon color is a different color than the background color.\u00a0 I want the background color to match the icon color.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1434 alignnone\" src=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/Before.png\" alt=\"\" width=\"335\" height=\"441\" srcset=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/Before.png 335w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/Before-228x300.png 228w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/Before-111x146.png 111w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/Before-38x50.png 38w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/Before-53x70.png 53w\" sizes=\"auto, (max-width:767px) 335px, 335px\" \/><\/p>\n<p>Here&#8217;s a screenshot that shows the background colors available in the PowerApps editor.\u00a0 You can see the hex and RGBA values for the background color.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1433 alignnone\" src=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/Background-Color.png\" alt=\"\" width=\"420\" height=\"326\" srcset=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/Background-Color.png 420w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/Background-Color-300x233.png 300w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/Background-Color-188x146.png 188w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/Background-Color-50x40.png 50w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/Background-Color-90x70.png 90w\" sizes=\"auto, (max-width:767px) 420px, 420px\" \/><\/p>\n<p>Here&#8217;s the hex and RGBA values for the PowerApp icon.\u00a0 I&#8217;d like to make the background the same as this color.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1432 alignnone\" src=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/App-Icon-Color.png\" alt=\"\" width=\"425\" height=\"333\" srcset=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/App-Icon-Color.png 425w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/App-Icon-Color-300x235.png 300w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/App-Icon-Color-186x146.png 186w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/App-Icon-Color-50x40.png 50w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/App-Icon-Color-89x70.png 89w\" sizes=\"auto, (max-width:767px) 425px, 425px\" \/><\/p>\n<p>Here\u2019s the magic recipe, or hack, or duct tape, or whatever you want to call it.<\/p>\n<ol>\n<li>Export the PowerApp.<\/li>\n<li>Rename the .msapp file by adding the .zip extension.<\/li>\n<li>Extract the export file to a directory.<\/li>\n<li>In the directory, open the PublishInfo.json file.<\/li>\n<li>Find the BackgroundColor element.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1440 alignnone\" src=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/PublishInfo.json-Before.png\" alt=\"\" width=\"600\" height=\"303\" srcset=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/PublishInfo.json-Before.png 600w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/PublishInfo.json-Before-300x152.png 300w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/PublishInfo.json-Before-260x131.png 260w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/PublishInfo.json-Before-50x25.png 50w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/PublishInfo.json-Before-139x70.png 139w\" sizes=\"auto, (max-width:767px) 480px, 600px\" \/><\/li>\n<li>Modify the BackgroundColor element to match the color you desire.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1439 alignnone\" src=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/PublishInfo.json-After.png\" alt=\"\" width=\"596\" height=\"296\" srcset=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/PublishInfo.json-After.png 596w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/PublishInfo.json-After-300x149.png 300w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/PublishInfo.json-After-260x129.png 260w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/PublishInfo.json-After-50x25.png 50w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/PublishInfo.json-After-141x70.png 141w\" sizes=\"auto, (max-width:767px) 480px, 596px\" \/><\/li>\n<li>Save the file.<\/li>\n<li>Open the export .zip file in an archive tool like WinRAR, WinZIP, etc.<\/li>\n<li>DRAG the PublishInfo.json file into the export .zip file to replace the PublishInfo.json file in the archive.<br \/>\n<strong>Note:<\/strong>\u00a0You have to drag and drop the file into the archive, zipping the files in the directory will not work.<\/li>\n<li>Close the archive tool.<\/li>\n<li>Remove the .zip extension from the export file.<\/li>\n<li>Open PowerApps studio in the desktop or web browser.<\/li>\n<li>Delete the PowerApp you exported.<\/li>\n<li>Click Open.<\/li>\n<li>Click Browse.<\/li>\n<li>Select the export .msapp file you modified.<\/li>\n<li>Click OK.<\/li>\n<li>Click Save.<\/li>\n<\/ol>\n<p><strong><br \/>\nBOOM!<\/strong>\u00a0Now you can run the PowerApp and see the background color matches your icon color!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1431 alignnone\" src=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/After.png\" alt=\"\" width=\"335\" height=\"441\" srcset=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/After.png 335w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/After-228x300.png 228w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/After-111x146.png 111w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/After-38x50.png 38w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2017\/11\/After-53x70.png 53w\" sizes=\"auto, (max-width:767px) 335px, 335px\" \/><\/p>\n<p>Here\u2019s a video where I demonstrate how to do it.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/4-3yY2z6bE8?rel=0\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you create a PowerApp, you get to choose from 25 different background colors for the loading page.\u00a0 What if you want to match the color<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>\n","protected":false},"author":1,"featured_media":1430,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[103,96,104,121,1],"tags":[42,10,5,54,45,112],"class_list":["post-1435","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-mobile","category-office-365","category-powerapps","category-uncategorized","tag-cloud","tag-custom-development","tag-helpful-code","tag-mobile","tag-o365","tag-powerapps"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/1435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/comments?post=1435"}],"version-history":[{"count":6,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/1435\/revisions"}],"predecessor-version":[{"id":1445,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/1435\/revisions\/1445"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/media\/1430"}],"wp:attachment":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/media?parent=1435"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/categories?post=1435"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/tags?post=1435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}