I am creating an Excel and setting dme background colors and then embedding it in presentation. If I use Default colors like Color.Red or Color.LightGrey, then the color remain same after activation but if I set any custom color eg. "#DBB85E" then the background changes to some other color.
I am adding this custom color to the workbook usig the code -
Color color = ColorTranslator.FromHtml( "#DBB85E" );
if(!worksheet.Workbook.IsColorInPalette(color))
worksheet.Workbook.ChangePalette(color,40);
Please Suggest.