title: Working with colors in ASP.NET using C#
body: <p>I am currently trying out some things in asp.net and ran into following issue: 
  I have currently 2 color pickers, button and label like: </p>
  
  <pre><code> &lt;input type="color" runat="server" id="colorPick1" name="colorPick"/&gt;
   &lt;input type="color" runat="server" id="colorPick1" name="colorPick"/&gt;
   &lt;asp:Button ID="Button1" runat="server" Text="Mix Colors" OnClick="Button1_Click" /&gt;
   &lt;asp:Label ID="resultMix" runat="server" ForeColor="White" style="text-align: center" BackColor="White"&gt;&lt;/asp:Label&gt;
  </code></pre>
  
  <p>the idea is that I take the 2 colors, munch them into algorithm and write something into label with text color that is returned via the algorithm. Basically it would be something like:</p>
  
  <pre><code>private Color algorithm(Color c1, Color c2){ 
  Color c;
  //do something
  return c;
  }
  </code></pre>
  
  <p>My visual studio couldn't even find the "using System.Windows.Media;" so that the Color class of C# would be visible. Is there some elegant solution to this?</p>
  
  <p>I use the C# in my page, not VB</p>