This rule may actually be different depending on which sanctioning body’s rules you’re using. Do you know what rules were being used in this game?
Generally, white colored gloves used to be illegal back when a white ball was used. That’s changed now that the ball is optic yellow. But, again, there’s no “one size fits all” answer that applies to all organizations.