C# ColorRGBtoHexConverter

internal static String ColorRGBtoHexConverter(System.Drawing.Color c)
{
return "#" + c.R.ToString("X2") + c.G.ToString("X2") + c.B.ToString("X2");
}

Yorumlar