org.apache.poi.hssf.converter.AbstractExcelUtils.getColor(HSSFColor) #0e3466 will be converted to #e3466 The part of code: for (short s : color.getTriplet()) { if (s < 10) { stringBuilder.append('0'); } stringBuilder.append(Integer.toHexString(s)); } } And I think that: 's < 10' should be 's < 16'
I changed this using r1908191
There was a bug in my change -> applied r1908192
This is fixed based on previous comments.