wpf label text color rgb code example Example: c# wpf change label text color (name label).Foreground = new SolidColorBrush(Color.FromRgb(0, 0, 0));