//把RGB值轉為可以用的顏色 读颜色
public Color RGBTOCOLOR(string str)
{
string[] s = new string[3];
int a, b, c = 0;
if (str == null || str == "")
{
a = 212;
b = 208;
c = 200;
}
else
{
s = str.Split(',');
a = int.Parse(s[0]);
b = int.Parse(s[1]);
c = int.Parse(s[2]);
}
return System.Drawing.Color.FromArgb(a, b, c);
}