implement correct legend colors