<?xml version="1.0" encoding="UTF-8"?>
<entry>
  <category-id type="integer">1</category-id>
  <content>&lt;p&gt;This comes in handy sometimes. Use it to turn a Color object into an HTML compatible Hex string that the browser can understand. &lt;/p&gt;
&lt;pre name="code" class="csharp"&gt;
private string ConvertColorToHex(Color color)
		{
			string hexColor = color.R.ToString("X") + color.G.ToString("X") + color.B.ToString("X");
			return hexColor;
		}
&lt;/pre&gt;</content>
  <created-at type="datetime">2009-03-18T18:02:04-07:00</created-at>
  <id type="integer">29</id>
  <title>Convert System.Drawing.Color into Hex String</title>
  <updated-at type="datetime">2009-03-18T18:02:38-07:00</updated-at>
</entry>
