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