add basic color-coded legend