title: Getting SolidColorBrush from a string
body: <p>I'm trying to set the foreground of a textblock on the backend using a string ( something like "Red")</p>
  
  <p>I've tried this:</p>
  
  <pre><code>ColorText.Foreground = new BrushConverter().ConvertFromString(colors[color2].ToString());
  </code></pre>
  
  <p>However, it doesn't seem to be recognizing <code>BrushConvert()</code>. I've included <code>System.Windows.Media</code> but it still can't be found.</p>
  
  <p>Is there another way to go about doing this? </p>