Add type family for determining the opposite color.