CREDIT: YouTube/Entertainment Weekly

"How I Met Your Mother" (HIMYM) has been accused of racism for their latest episode featuring "yellowface," which is when a white actor attempts to look like an Asian by using makeup to alter his or her looks. In HIMYM's Season 9, Episode 14 titled "Slapsgiving 3: Slappointment in Slapmarra," which aired on Monday, Jan. 13, 2014 on CBS, it shows cast members Alyson Hannigan (Lily), Josh Radnor (Ted) and Cobie Smulders (Robin) garbed in Asian attire and makeup to look and speak like Asians who are Kung Fu masters. A lot of viewers were offended by it, especially those from the Asian community. HIMYM co-creators Carter Bays and Craig Thomas have already apologised on Twitter for the said episode.

"With Monday's episode, we set out to make a silly and unabashedly immature homage to Kung Fu movies, a genre we've always loved," tweeted Bays on his Twitter account.

"But along the way we offended people. We're deeply sorry, and we're grateful to everyone who spoke up to make us aware of it," Bays added.

Check out Bays other tweets about the "How I Met Your Mother" episode featuring some of the cast members with "yellowface" by clicking HERE and HERE.

Craig Thomas also tweeted to apologise to everyone they offended because of the HIMYM episode.

However, the #HowIMetYourRacism hashtag still trended on Twitter along with messages from HIMYM viewers who tweeted their reactions.

For those who say 2 just take it easy, it's just humor? DO NOT tell me how to act or feel esp if you're not even asian #HowIMetYourRacism

— Jennifer Tan (@ItsJTan) January 17, 2014

@CarterBays @HimymCraig Avoid stumble in the 1st place by asking if you'd do the same thing w/ African Americans. #HowIMetYourRacism — Philip Yam (@philipyam) January 17, 2014

Thankful for apology HIMYM but how does something like this happen in first place? Like how did u think it was ok? #HowIMetYourRacism

— Joy L. S. Hoffman (@joy_hoffman) January 17, 2014

According to Yellow-face.com, which is a Web site that discusses "yellowface" at length, the term doesn't just mean a white person wearing makeup to look more Asian. It also means that there is a bias against hiring actual Asians to play themselves in the roles that call for them to appear in certain episodes or scenes.

In the controversial "How I Met Your Mother" episode, Marshall who is played by Jason Segel in the show recalls how he learned about the "Slap of a Million Exploding Suns" from three grand masters, who turn out to be his friends Ted (Josh Radnor) and Robin (Cobie Smulders ) and his wife Lily (Alyson Hannigan).

Ted, Robin and Lily all have black hair and eye makeup to make their eyes smaller, like Asians. They were also wearing Asian robes.

The controversial "yellowface" episode of "How I Met Your Mother" (HIMYM) titled "Slapsgiving 3: Slappointment in Slapmarra" will air on Australia's Seven Network in February 2015.

  • READ MORE:

'How I Met Your Mother' Season 9 Spoilers: What Will Marshall Do to Avoid Fighting with Lily? Episode 15 'Unpause' Synopsis and Promo Video Released [WATCH] (Click HERE)

'How I Met Your Mother' Season 9, Episode 14 Spoilers: Just 20 Hours Before Wedding, Cristin Milioti Present in Slap Bet Finale? [VIDEO] (Click HERE)

'How I Met Your Mother' Season 9 Spoilers: Finale, Scenes to Expect in 2014; Robin and Mrs Mosby, Plus Watch Slap Bet Video! (Click HERE)