color legend correctly