}
//TODO see if we can remove this function to use getFontHTMLColor(Cell, Font);
public static String getFontHTMLColor(Book book, Font font) {
if (font instanceof XSSFFont) {
final XSSFFont f = (XSSFFont) font;
final XSSFColor color = f.getXSSFColor();
return BookHelper.colorToHTML(book, color);
} else {
return indexToHSSFRGB((HSSFWorkbook)book, font.getColor());
}
}