Hi, We are newly started using NPOI components.
We are having issues to set FillForegroundColor of ICellStyle property.
ICellStyle HeaderCellStyle = xssfworkbook.CreateCellStyle();
HeaderCellStyle.FillForegroundColor = NPOI.HSSF.Util.HSSFColor.RED.index;
FillForegroundColor expects of type short.
How do we set a different color rather than using colors in HSSFColor.
We need to set to "#BE4E5E" and how do we do that for ICellStyle property FillForegroundColor
Colud someone help us by some example?