Generates a colour pallet via javascript /jquery