convert c# color html color
26/01/2010 Leave a comment
There is class in System.Drawing named ColorTranslator here is sample:
System.Drawing.Color c = System.Drawing.ColorTranslator.FromHtml("#CCFFEE");
string strHtmlColor = System.Drawing.ColorTranslator.ToHtml(c);
Small tips save time 🙂