> ## Content Index
> Fetch the complete content index at: https://developerinsider.co/llms.txt
> Use this file to discover other available public pages before exploring further.

# Change title bar and status bar color on WUP
- URL: https://developerinsider.co/change-status-bar-color-on-uwp/
- Published: 2016-03-13T09:18:21.000Z
- Updated: 2019-04-14T17:13:46.000Z
- Author: Vineet Choudhary
- Tags: Windows

In this article I'll show how to how to change status bar color on WUP (Mobile + PC).

In order to do that in mobile, add the refernce of `Microsoft Mobile Extension SDK for Universal App Platform` in your project. You can find it under Reference Manager -> 1.Windows Universal > 2\. Extensions.

![](http://i.stack.imgur.com/Z6miC.png)

You can change `TitleBar` color for Windows PC and the StatusBar for Mobile like that:

```csharp
//Windows (PC) title bar color
Windows.UI.ViewManagement.ApplicationView.GetForCurrentView().TitleBar.BackgroundColor = Color.FromArgb(100,230, 74, 25);
Windows.UI.ViewManagement.ApplicationView.GetForCurrentView().TitleBar.ForegroundColor = Colors.White;
Windows.UI.ViewManagement.ApplicationView.GetForCurrentView().TitleBar.ButtonBackgroundColor = Color.FromArgb(100, 230, 74, 25);
Windows.UI.ViewManagement.ApplicationView.GetForCurrentView().TitleBar.ButtonForegroundColor = Colors.White;

//StatusBar for Mobile     
if (ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar"))
{
    Windows.UI.ViewManagement.StatusBar.GetForCurrentView().BackgroundColor = Color.FromArgb(100, 230, 74, 25);
    Windows.UI.ViewManagement.StatusBar.GetForCurrentView().BackgroundOpacity = 1;
    Windows.UI.ViewManagement.StatusBar.GetForCurrentView().ForegroundColor = Colors.White;
}
    

```