mapping term to color, used for category group plot