grid.Columns["NameOfColumn"].DefaultCellStyle.ForeColor = Color.Gray;
dataGridView1.ColumnHeadersDefaultCellStyle.BackColor = Color.Black