String htmlColor = System.Drawing.ColorTranslator.ToHtml(c);
To convert HTML Color type to .NET color type:
System.Drawing.Color newColor = System.Drawing.ColorTranslator.FromHtml("#AABBCC");
I just wish i found this earlier and i hope that this FAQ will help other developers...
Show Comments (0)
Loading Comments. Please Wait...