Added the color pallet functionality