colorMap.put(el.name() + "_BG",
convertToColor(value, TextColor.ANSI.BLACK));
}
colorMap.put(el.name() + "_BG",
convertToColor(value, TextColor.ANSI.BLACK));
}
colorMap.put(el.name() + "_FG",
convertToColor(value, TextColor.ANSI.WHITE));
}
colorMap.put(el.name() + "_FG",
convertToColor(value, TextColor.ANSI.WHITE));
}
int g = Integer.parseInt(value.substring(3, 5), 16);
int b = Integer.parseInt(value.substring(5, 7), 16);
return new TextColor.RGB(r, g, b);
int g = Integer.parseInt(value.substring(3, 5), 16);
int b = Integer.parseInt(value.substring(5, 7), 16);
return new TextColor.RGB(r, g, b);