Easy way to get hex from a string in .net
<p>I want to get hex from a string like this: </p>

<pre><code>Color c = new Color();
c.A = Int32.Parse("0x7F"); 
</code></pre>

<p>What's the right method for this ?</p>
