Palette class