code: function colorizeTitleBar() {
      var appView = Windows.UI.ViewManagement.ApplicationView.getForCurrentView();
      if (isWin10UWP && !isBgColorTransparent) {
          titleInitialBgColor = appView.titleBar.backgroundColor;
  
          appView.titleBar.backgroundColor = titleBgColor;
          appView.titleBar.buttonBackgroundColor = titleBgColor;
      }
  }
docs: Make title bg color match splashscreen bg color