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