color-coded legend