RGB颜色拾取器控件获取到的值是整数类型的,对应着0x颜色代码,需要进行转换才能得到RGB颜色值,转换方法可以参考这篇文章: c# RGB与int类型相互转换_c# color 转int_西飘客的博客-CSDN博客
//读取RGB颜色器控件的值
int color = rGBColorPicker0.GetProperties().GetInteger("Value");
//转换int类型为RGB值
int r = 0xFF0000 & color;
r >>= 16;
int g = 0xFF00 & color;
g >>= 8;
int b = 0xFF & color;
var rgb = new int[] { r,g,b};
//转换RGB值为int类型
color = (int)(((uint)rgb[0] << 16) | (ushort)(((ushort)rgb[1] << 8) | rgb[2]));
//设置RGB颜色器控件的值
rGBColorPicker0.GetProperties().SetInteger("Value", color);