title: Passing a hex color to an ASP.NET page using ULR Parameter
body: <p>I am trying to allow a user to specify a background color for my asp.net website.  So I want to pass the page color into my url like:</p>
  
  <pre><code>UserDetails.aspx?Color=#FFFFFF
  </code></pre>
  
  <p>However as soon as I include the # character I can't seem to be able to get the correct value for the parameter Color using:</p>
  
  <pre><code>color = System.Drawing.ColorTranslator.FromHtml(Request.Params["Color"]);
  </code></pre>
  
  <p>Please help</p>