The team color is not used for the advanced tooltips entity name hover event.
- Summon a pig with a colored name
- Create a team with a team color
- Make sure advanced tooltips are active (F3 + H)
- Have the name of the pig be displayed in chat and hover over it
→ The name in the hover event is red