private static string ColorToHexConverter(Color color) { return color.R.ToString("X2") + color.G.ToString("X2") + color.B.ToString("X2"); }