title: String.Format for Hex
body: <p>With below code, the colorsting always gives #DDDD. Green, Red and Space values int he How to fix this?</p>
  
  <pre><code>string colorstring;
  int Blue = 13;
  int Green = 0;
  int Red = 0;
  int Space = 14;
  colorstring = String.Format("#{0:X}{0:X}{0:X}{0:X}", Blue, Green, Red, Space);
  </code></pre>