title: Change color of all elements on any svg file
body: <p>I can easily add a fill on the element (<code>&lt;path fill="#FF0000"&gt;</code>), but my problem is, that it is not always a path element, it can also be <code>&lt;rect&gt;</code>, <code>&lt;ellipse&gt;</code> and so on.</p>
  
  <p>but what if i want to change the color of all the elements in the svg file? no matter what type it is?</p>
  
  <p>My solutions:</p>
  
  <ul>
  <li><p>Find all elements that support the fill attribute, and then loop through them.</p></li>
  <li><p>Just to put a fill tag on everything, not matter what tag, but not all tags support it, and wont that cause problems?</p></li>
  </ul>
  
  <p>I don't like any of these solutions... The first is not dynamic, and the other is not dynamic is dirty¨</p>
  
  <p>Is there something smarter i can do here? can i define a global color or something? Or does <a href="http://svg.codeplex.com/" rel="nofollow">svg.codeplex</a> have some functionality that i can use (which i can't find)?</p>