So I am setting an Excel cell\'s Interior Color to a certain value, like below:
worksheet.Cells[1, 1].Interior.Color = 0xF1DCDB;
However, when
Just wanted to post my code, too. Since there was no copy&paste solution for me. Based on Sandesh 's code:
private void ColorMe(Color thisColor){
rng = xlApp.ActiveCell;
Color mycolour = ColorTranslator.FromHtml("#" + thisColor.Name.Substring(2, 6));
rng.Interior.Color = Color.FromArgb(mycolour.R, mycolour.G, mycolour.B);
}