public ColorTable unify(List<ColorTable> tables) throws AWTException {
        ColorTable result = new ColorTable();
        for (ColorTable table : tables) {
            for (BmpColor color : table) {
                result.addColor(color);
            }
        }
        return result;
    }