Move some of the XSSF Color logic to a base class, so that the HSSF Extended Color wrapper can use it