What is the hex code for Nokia Blue on a Windows 7 phone?

I want to use NOkia blue for some of my controls for the application I am creating. I am testing the application on the Nokia Lumia 800, and all colors are displayed differently. I am wondering if anyone can share the hexadecimal code of the Nokia Blue theme on a Windows phone.

+4
source share
2 answers
Nokia Blue: #004C9A 

I finally got it from the XDA Forum. Credit goes to them.

+10
source

Found on Microsoft website to determine accent color:

 Color currentAccentColorHex = (Color)Application.Current.Resources["PhoneAccentColor"]; string currentAccentColor = ""; switch (currentAccentColorHex.ToString()) { case "#FF1BA1E2": currentAccentColor = "blue"; break; case "#FFA05000": currentAccentColor = "brown"; break; case "#FF339933": currentAccentColor = "green"; break; case "#FFE671B8": currentAccentColor = "pink"; break; case "#FFA200FF": currentAccentColor = "purple"; break; case "#FFE51400": currentAccentColor = "red"; break; case "#FF00ABA9": currentAccentColor = "teal (viridian)"; break; // Lime changed to #FFA2C139 in Windows Phone OS 7.1. case "#FF8CBF26": case "#FFA2C139": currentAccentColor = "lime"; break; // Magenta changed to # FFD80073 in Windows Phone OS 7.1. case "#FFFF0097": case "#FFD80073": currentAccentColor = "magenta"; break; // #FFF9609 (previously orange) is named mango in Windows Phone OS 7.1. case "#FFF09609": currentAccentColor = "mango (orange)"; break; // Mobile operator or hardware manufacturer color default: currentAccentColor = "custom eleventh color"; break; } 

So blue color: #FF1BA1E2

If not, you can write your own quick test code:

 Color currentAccentColorHex = (Color)Application.Current.Resources["PhoneAccentColor"]; MessageBox.Show("#" + currentAccentColorHex.ToString("X2")); 

Before running this code, set your theme to blue.

0
source

Source: https://habr.com/ru/post/1399309/


All Articles