Fox News host Sean Hannity slammed comedian Roseanne Barr for her racist tweet about former Obama-era White House adviser Valerie Jarrett on Tuesday.

Hannity said Barr's remarks comparing Jarrett to an ape were "outrageous" and that she was right to apologize.

Barr, like Hannity an outspoken Trump supporter, tweeted that Jarrett was the child of the Islamist organization Muslim Brotherhood and the film “Planet of the Apes."

“Muslim brotherhood & planet of the apes had a baby=vj,” Barr wrote, using Jarrett’s initials. The actress’s message was in response to a tweet accusing Jarrett of covering up misdeeds for the Obama administration.

Barr later apologized for the remark and added that she was “leaving Twitter” following the harsh criticism she received for what she called a "bad joke."

“I think with social media a lot of people just send things out,” Hannity said on his Tuesday radio show. “Especially comedians are always in danger ’cause they just think they’re being funny and they’re not.”

Hannity’s remarks came just hours after ABC announced its decision to cancel the reboot of "Roseanne" following the tweet.

ADVERTISEMENT

The comedian was also dropped by her talent agency, ICM Partners, shortly after ABC canceled her show.

“We are all greatly distressed by the disgraceful and unacceptable tweet from Roseanne Barr this morning,” ICM said in a statement Tuesday, according to Variety.

“What she wrote is antithetical to our core values, both as individuals and as an agency. Consequently, we have notified her that we will not represent her. Effective immediately, Roseanne Barr is no longer a client.”