legend with color palette