I am currently using HSSFColor/HSSFPalette and XSSFColor to set the Existing/Custom Colors. Implementation is as follows : for e.g. font.setColor(HSSFColor.WHITE.index); for HSSF or cs.setFillForegroundColor(xssfColor); for XSSF
I want to pass parameters in both the above cases for "Hexadecimal Color Codes".
Like : for HSSF: font.setColor()/font.setColor(getShortIndexFromHexColorCodes()) for XSSF: cs.setFillForegroundColor();
Is there any way out to do the above thing, where I can pass Hexadecimal Color Code and the colors are applied in HSSF and XSSF.
Please guide me and thanks in advance:)