string c1 = System.Drawing.ColorTranslator.ToHtml(System.Drawing.Color.Red);
// c1 = "#ff0000";或c1 = "Red";
System.Drawing.Color c2 = System.Drawing.ColorTranslator.FromHtml("#ff0000");
// c1 = "#ff0000";或c1 = "Red";
System.Drawing.Color c2 = System.Drawing.ColorTranslator.FromHtml("#ff0000");