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
You need to convert the color from hex to Excel's color system as follows:
ColorConverter cc = new ColorConverter();
worksheet.Cells[1, 1].Interior.Color = ColorTranslator.ToOle((Color)cc.ConvertFromString("#F1DCDB"));
It's not really a bug, since Excel's color system has always been this way. It's just one more thing that makes C# - Excel interop a pain.