Gani tpt
asked on
How to set and apply RGB Color in HSSFCellStyle
Hi,
How to set and apply RGB Color in HSSFCellStyle.
For example, below is my code.
HSSFCellStyle styleHeaderSum = (HSSFCellStyle)excelFile.C reateCellS tyle();
styleHeaderSum.FillForegro undColor = NPOI.HSSF.Util.HSSFColor.L ightGreen. Index;
instead of "LightGreen" color, i just want to apply RGB (250,250,250) color.
How to set the color in "styleHeaderSum.FillForegr oundColor = NPOI.HSSF.Util.HSSFColor.? ?????
How to set and apply RGB Color in HSSFCellStyle.
For example, below is my code.
HSSFCellStyle styleHeaderSum = (HSSFCellStyle)excelFile.C
styleHeaderSum.FillForegro
instead of "LightGreen" color, i just want to apply RGB (250,250,250) color.
How to set the color in "styleHeaderSum.FillForegr
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER