System.Drawing.Color c = System.Drawing.ColorTranslator.FromHtml("#FFFFFF"); label.Foreground = new SolidColorBrush(System.Windows.Media.Color.FromArgb(c.A, c.R, c.G, c.B));