Adding legend in sidebar for colors.