It's against the rules, you are not allowed to divulge your hole cards while the hand is still in play, unless "you" are HU with another opponent. It's concidered collusion.