Excel background /foreground colour issue with ASPOSE

I am creating Excel file from the application developed .net framework 3.5 , it is simply using Excel workbook.

Problem: Need help on the background /foreground colour issue

We are using ASPOSE 2.1

SerialNumber: 383c6e3e-180b-4b7a-8e1f-a6fa05df7987

I am trying to give background /foreground color of an Excel cell as AMBER (RGB- 255, 191,0)

(Excel used 2007 on WIN XP)

I have tried to other colors as well but it populating with black background.

It is working for few other colors like yellow and gray

We are licensed users, I need solution on this.

Please help or guide me in this regard.

Hi,

Thank you for considering Aspose.

Well, you may need to change the default color palette to use the custom color which is not the part of Excel 2003 default color palette (Amber (RGB- 255, 191,0)). If you set a color which is not in the palette, it will not take effect. Please see the following documentation links for Default Color Palette and how to add the custom colors in the Palette,

For .NET

Also, following documentation link provides the code samples and details regarding how to apply the background color and patterns,

For Java

Also, following documentation link provides the code samples and details regarding how to apply the background color and patterns,

http://www.aspose.com/documentation/file-format-components/aspose.cells-for-java/colors-background-patterns.html

Thank You & Best Regards,