- How to get excel cell color in java
- Cell cell = row.getCell(6);
- CellStyle style = cell.getCellStyle();
- Color cellColor = (cell.getCellStyle().getFillBackgroundColorColor());
- Color cellColor = (cell.getCellStyle().getFillBackgroundColorColor());
- if(cellColor.equals(Color.GREEN)) {
- //do whatever
- }