Here is a small example of how to convert a System.Drawing.Color to the HTML color format (Hex value or HTML color name value) and back.
System.Drawing.
Color c = System.Drawing.ColorTranslator.FromHtml("#F5F7F8");
String strHtmlColor = System.Drawing.ColorTranslator.ToHtml(c);
6b4b3c76-4943-4038-8dc1-87501084a397|120|3.4
General
.net framework, asp.net