wpf textblock different color text code example
Example 1: c# wpf change label text color
(name label).Foreground = new SolidColorBrush(Color.FromRgb(0, 0, 0));
Example 2: wpf set button text color
<Button Name="btn" Click="btn_Click" Content="Load Profile Image" Foreground="White">