src/org/tiefaces/components/websheet/utility/CellStyleUtility.java
private static String getCellFontColor(final Font font) {
		short[] rgbfix = { TieConstants.RGB_MAX, TieConstants.RGB_MAX,
				TieConstants.RGB_MAX };
		if (font instanceof XSSFFont) {
			XSSFColor color = ((XSSFFont) font).getXSSFColor();
			if (color != null) {
				rgbfix = ColorUtility.getTripletFromXSSFColor(color);
			}
		}
		if (rgbfix[0] != TieConstants.RGB_MAX) {
			return "color:rgb(" + FacesUtility.strJoin(rgbfix, ",") + ");";
		}
		return "";
	}
private static String getCellFontColor(final Font font) {
		short[] rgbfix = { TieConstants.RGB_MAX, TieConstants.RGB_MAX,
				TieConstants.RGB_MAX };
		if (font instanceof XSSFFont) {
			XSSFColor color = ((XSSFFont) font).getXSSFColor();
			if (color != null) {
				rgbfix = ColorUtility.getTripletFromXSSFColor(color);
			}
		}
		if (rgbfix[0] != TieConstants.RGB_MAX) {
			return "color:rgb(" + FacesUtility.strJoin(rgbfix, ",") + ");";
		}
		return "";
	}
private static String getCellFontColor ( final Font font ) { short [ ] rgbfix = { TieConstants . RGB_MAX , TieConstants . RGB_MAX , TieConstants . RGB_MAX } ; if ( font instanceof XSSFFont ) { XSSFColor color = ( ( XSSFFont ) font ) . getXSSFColor ( ) ; if ( color != null ) { rgbfix = ColorUtility . getTripletFromXSSFColor ( color ) ; } } if ( rgbfix [ 0 ] != TieConstants . RGB_MAX ) { return "color:rgb(" + FacesUtility . strJoin ( rgbfix , "," ) + ");" ; } return "" ; }
get cell font color.

@param font
font.
@return String font color.
get cell font color .