Theta30
0
Q:

wpf label text color rgb string

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));
1

New to Communities?

Join the community