Janelle Monae's musical tribute to this year's Oscar nominees contained a jab at the lack of diversity among the group.

Monae started off the show donning a red sweater like Mister Rogers wore in a nod to “A Beautiful Day in the Neighborhood.” She walked into the audience and serenaded the film's star, Tom Hanks, and other nominees.

RELATED: Oscars 2020: Winner's list and nominees

RELATED: Idina Menzel to perform with 9 other Elsas for Oscars 'Frozen' performance

RELATED: The 'Jojo Rabbit' kids win the award for cutest Oscars red carpet guests

She shifted into an upbeat number with several dancers wearing attire honoring other nominees. Monae shed the sweater as she sang and danced.

"It's time to come alive," she sang. "because the Oscars is so white!" 

Later in the performance, Monae also wished the audience a happy Black History Month and gave a shout out all the women who directed films this year. No women were nominated for the directing category, including Greta Gerwig. Many felt Gerwig, who directed "Little Women," was snubbed. 

"Tonight we celebrate all the amazing talent in this room," Monae said. "We celebrate all the women who directed phenomenal films. And I'm so proud to stand here as a black queer artist telling stories. Happy Black History Month!" 

Monae was joined on stage by Billy Porter, who hosted the red carpet earlier in the night in a 24-karat gold dress. 

Other performers at this year's Oscars include Elton John, Idina Menzel, Randy Newman, Chrissy Metz, Cynthia Erivo and Billie Eilish.

The show, which is airing live on ABC, is going hostless for the second year in a row.