Adds color palette and legend