Я хочу установить собственный цвет на фон ячейки.
Я использую HSSFWorkbook
(не могу ничего использовать).
HSSFPalette palette = aWorkBook.getCustomPalette();
Color col = new Color(backgroundColor);
HSSFColor myColor = palette.addColor((byte) 10, (byte) 11, (byte) 12);
Я получаю эту ошибку: java.lang.RuntimeException: Could not find free color index