截图--转图为数组--确定坐标--转数据为RGB--生成颜色

WriteableBitmap wb = new WriteableBitmap(myImage, null);
int color = wb.Pixels[(int)e.GetPosition(myImage).Y * (int)myImage.ActualWidth + (int)e.GetPosition(myImage).X];
byte[] bytes = BitConverter.GetBytes(color);
myBorder1.Background = new SolidColorBrush(Color.FromArgb(bytes[3], bytes[2], bytes[1], bytes[0]));