Zendaya (pictured) accepted the apology of "Fashion Police" host Giuliana Rancic after Rancic criticized her hair at the 2015 Oscars. Reuters

Zendaya Coleman accepted Giuliana Rancic’s apology after the “Fashion Police” co-host criticized Coleman's hair during an Oscar edition of the hit E! show. Rancic said the former Disney star’s dreadlocks on the red carpet reminded her of patchouli oil and weed, a remark that drew harsh criticism and cries of racial stereotype.

In addition to writing an apology on Twitter Monday, Rancic also appeared on E! News Tuesday to personally apologize to Zendaya and anyone she might have offended with her comment.

Zendaya, who generally goes just by her first name, posted a note to Twitter and Instagram Tuesday, saying that even though people try to act without prejudice, sometimes it comes out anyway. The 18-year-old starlet said she'd originally wanted to write a hurtful response but instead took time to cool off and then wrote something thoughtful. She finished her post with a quote from Dr. Martin Luther King Jr. Her post, in its entirety, is below:

“Studies have shown that even though we try to act without prejudice, sometimes it’s just inside us due to our past or surroundings. That hidden prejudice is often influential in our actions. It’s our job to spot these issues within others and ourselves and destroy them before they become hurtful. I have so many people looking up to me, that I couldn’t be scared, wait it out, nor could I just stand up for me; I had to do it for WE. It is important in this journey to remember that just because someone has inflicted hurt upon us, it does not give us the right to do the same. Body shaming and other hurtful tactics will never get the job done. As hard as it was to stop MYSELF from being ignorant and from posting the first mean words that came to my mind because I was hurt, I had to think about the bigger picture. Instead I sat for two hours on my phone, doing research and formulating an educated response. Giuliana, I appreciate your apology and I’m glad it was a learning experience for you and for the network. I hope that others negatively affected by her words can also find it in their hearts to accept her apology as well. From a quote we all know by Dr. Martin Luther King Jr. “Darkness cannot drive out darkness, only light can do that. Hate cannot drive out hate, only love can do that.” Let’s be that light and spread that love. –Zendaya Coleman.”

“Fashion Police” co-host Kelly Osbourne, a friend of Zendaya, has threatened to quit the show because of the controversy. The rest of the cast has also threatened to leave the show unless Rancic is fired, Radar Online reported Wednesday.

“The entire cast of 'Fashion Police' is done with Giuliana and they are hoping that she will be not only kicked off the show but also off of the network,” a source told Radar Online. “The network does not condone racism in any way, shape or form, and they know that their reputation is now at stake.”

Follow me on Twitter @mariamzzarella