title: How do I set a color as a hexadecimal variable?
body: <p>I want to make one of those cool little color clocks for myself, that sets the color to a time based variable.</p>
  
  <p>I made the variable "One" as being equal to the time as it's six basic characters, but...</p>
  
  <pre><code>System.Drawing.Color time = System.Drawing.ColorTranslator.FromHtml("#" + One);
  </code></pre>
  
  <p>^ That gives me the error that "A field initializer cannot reference the non-static field, method, or property 'TimeColor_Clock.TCC.One'"</p>
  
  <p>How can I get my code to accept my variable? I've tried a few different methods (of which none have worked with the variable) but this really seems like the most direct one.</p>