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
The RGB colour alone can be parsed from an HTML hex string:
HTML hex
Color colour = ColorTranslator.FromHtml("#E7EFF2");
If you have a separate alpha value you can then apply this (docs):
Color colour = ColorTranslator.FromHtml("#E7EFF2"); Color transparent = Color.FromArgb(128, colour);