title: best way to change colors of a solidcolorbrush
body: <p>I have a brush that is binded to the background of an element in my wpf app. </p>
  
  <p>When I initialize it in the constructor, I do so accordingly:</p>
  
  <pre><code>MessageBackground = new SolidColorBrush(Colors.Red);
  </code></pre>
  
  <p>Now there are times in the code where I want to change the background to green. I have been doing it like so:</p>
  
  <pre><code>MessageBackground = new SolidColorBrush(Colors.LightGreen);
  </code></pre>
  
  <p>but this seems wrong to me. Message background itself is type System.Windows.Media.Brush. It does not appear to have any property like Color or Brush that would permit dynamically changing it.</p>