要使用GetPixel函数来取得像素的颜色值,代码如下:12345private void button1_Click(object sender, EventArgs e){Color color = new Bitmap(pictureBox1.Image).GetPixel(10, 10);MessageBox.Show(color.ToString());}效果见下图: