richTextBox1.Text = ""; Bitmap objBitmap = new Bitmap(pictureBox1.Image); String info = ""; for (int y = 0; y < objBitmap.Height; y++) { for (int x = 0; x < objBitmap.Width; x++) { Color col = objBitmap.GetPixel(x, y); info = info + Convert.ToString(col.R) + "\t" + Convert.ToString(col.G) + "\t" + Convert.ToString(col.B) + Environment.NewLine; } } richTextBox1.Text ="R\tG\tB"+Environment.NewLine+ info;