The White House was glowing the colors of the rainbow Tuesday night, hours after President Biden signed the Respect for Marriage Act into law. 

On Tuesday, Biden hosted a signing ceremony alongside Vice President Kamala Harris, House Speaker Nancy Pelosi and Senate Majority Leader Chuck Schumer outside the White House, where the president codified legal protections for same-sex and interracial marriage.

Hours after the event, the White House shared a photo glowing in rainbow colors. 

The red, orange, yellow, green, blue, indigo, and violet colors are often used as a symbol by the LGBTQA+ community to represent equality. The rainbow was glowing on the White House during the daytime ceremony.

BIDEN INVITES ANTI-POLICE NONBINARY DRAG QUEEN TO WHITE HOUSE: 'F--- THE POLICE'

During the ceremony, Biden denounced hate "in all its forms" and celebrated the new law. 

"This law and the love it defends strike a blow against hate in all its forms," Biden said during the ceremony on the South Lawn of the White House Tuesday afternoon. "And that’s why this law matters to every single American."

He added: "Racism, antisemitism, homophobia, transphobia, they’re all connected. But the antidote to hate is love."

OOPS! WHITE HOUSE PRESS SECRETARY JEAN-PIERRE READS WRONG SCRIPT DURING BRIEFING

The signing ceremony comes after lawmakers from both sides of the proverbial aisle worked to legislatively protect marriage after the U.S. Supreme Court decided to overturn Roe v. Wade. Pelosi and Schumer thanked those in attendance.

Pelosi said "inside maneuvering only takes us so far" but went on to celebrate the new law and thanked activists for "your impatience, your persistence and your patriotism."

Schumer added: "Thanks to the millions out there who spent years pushing for change, and thanks to the dogged work of my colleagues, my grandchild will get to live in a world that respects and honors their mothers' marriage."

The new law intends to keep gay marriage legal, should the U.S. Supreme Court ever decide to reverse its 2015 decision in Obergefell v. Hodges, which legalized same-sex unions nationwide. Similarly, the Respect for Marriage Act keeps interracial marriage legal should the Supreme Court revisit its 1967 decision in Loving v. Virginia, which struck down state laws barring the action.

Supreme Court Justice Clarence Thomas suggested the high court could revisit the earlier cases.

CLICK HERE TO GET THE FOX NEWS APP

Several icons of the gay community attended the White House event, including Treasury Secretary Pete Buttigieg, and music artists Sam Smith and Cyndi Lauper