ColorTranslator.ToHtml

ColorTranslator.ToHtml method

从颜色创建 HTML 颜色。

public static string ToHtml(Color c)
参数类型描述
c颜色颜色类。

返回值

HTML 字符串颜色。

另请参见