https://bz.apache.org/bugzilla/show_bug.cgi?id=66052
--- Comment #1 from Nick Burch <apa...@gagravarr.org> --- I don't know the code well, but from a brief look, I think the issue is in CellStyle.getFormatProperties and CellStyle.setFormatProperties both only using the indexed colours We do have CellStyle.getFillBackgroundColorColor and CellStyle. getFillForegroundColorColor but no matching setters on the interface that take a Color. HSSFCellStyle doesn't have ones taking a Color, while XSSFCellStyle has ones taking a XSSFColor but nor a Color I'm not certain, but I think adding setters that take a Color onto the interface and implementing that on HSSFCellStyle (with an error there if not an indexed one), then updating CellStyle to optionally work with a Color instead of a short, might be enough Patches welcome! :) -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org