Rapper Macklemore posted an apology on his website late Monday, saying he didn't mean to mock Jewish people by wearing a costume that some say was anti-Semitic during a performance in Seattle last week, the Associated Press reported.

Photos from the concert show Macklemore wearing a black wig and beard and a fake hooked nose, according to the AP. Macklemore and Lewis gained widespread fame with a message supporting diversity, and their hit song "One Love" calls for tolerance and support for members of the gay community.

Macklemore wrote that he randomly chose the pieces of the costume he wore at Friday's performance so that he could disguise himself and move freely around during the secret show and said it wasn't meant to be a caricature of a Jewish man, the AP reported.

"I respect all cultures and all people," he wrote. "I would never intentionally put down anybody for the fabric that makes them who they are. I love human beings, love originality, and ... happen to love a weird outfit from time to time."

The two performed the song at January's Grammy Awards while several same-sex couples were married, and they have been lauded for their progressive messages, according to the AP.

Lewis and his mother appeared on Anderson Cooper's show on CNN to talk about their HIV-AIDS charity efforts before Macklemore posted his message Monday night, the AP reported.

In a postscript, the rapper pointed out the work of the Anti-Defamation League, providing a link to the group's website. The ADL was formed to fight anti-Semitism, according to the AP.

Macklemore said he understood his detractors' point of view and said: "I acknowledge how the costume could, within a context of stereotyping, be ascribed to a Jewish caricature," he wrote. "I am here to say that it was not absolutely not my intention, and unfortunately at the time I did not foresee the costume to be viewed in such regard. I'm saddened that this story, or any of my choices, would lead to any form of negativity."