i am trying to get the Hex value of color that is passed as string. for example,
private string HexColor(string colorName) // like "Red"
{
// returns hex value like "12345"
}
i got links for convert a Windows.UI.Color to its Hex value. but not for a string color name to color hex value. Thanks in advance for your help.
Update : For metro app