Encapsulate palette data in its own structure.