Do you think it’s rude to tell another person “I do not care what you think”?

I personally don’t perceive it as rude.

Do you perceive it as rude?

Updates
12 h
I guess it depends on the situation
I mean if somebody comes up to me and tells me unsolicited I’m not pretty or my boyfriend is ugly then I don’t see anything wrong with me saying to them “I don’t care what you think.”
Do you think it’s rude to tell another person “I do not care what you think”?
Post Opinion