public XSSFColor(java.awt.Color clr) {
this();
ctColor.setRgb(new byte[]{(byte)clr.getRed(), (byte)clr.getGreen(), (byte)clr.getBlue()});
this.setRgb(new byte[]{(byte)clr.getRed(), (byte)clr.getGreen(), (byte)clr.getBlue()});
}
public XSSFColor(byte[] rgb) {
ctColor.setRgb(rgb);
this.setRgb(rgb);
/**
XSSFColor themeColor = getThemeColor(color.getTheme());
// Set the raw colour, not the adjusted one
// Do a raw set, no adjusting at the XSSFColor layer either
color.getCTColor().setRgb(themeColor.getCTColor().getRgb());
// XSSFColor constructor was patched, so adjust back is now necessary
color.setRgb(themeColor.getCTColor().getRgb());
// All done