In contrast, only one-fourth of Americans said President Barack Obama, a Democrat and the country's first black president, made race relations worse.

More than half of Americans say President Donald Trump has made race relations worse during his time in the White House, and more than two-thirds believe it has become more common for people to say racist things since he won the White House.

This is according to a Pew Research Center poll released Tuesday that asked Americans their feelings about race in the United States.

Almost 3 out of 5 Americans, or 58%, say race relations in the U.S. are generally bad, and 56% of those in the Pew Research Center's "Race in America 2019" survey said Trump has made race relations worse.

Only one-fourth, or 25%, said former President Barack Obama, a Democrat and the country's first black president, made race relations worse.

Roughly two-thirds of Americans, or 65%, also say it has become more common for people to express racist views since Trump took office.

"One of the key takeaways is that Americans have a negative view of the country's racial progress and the current state of race relations," said Juliana Menasce Horowitz, Pew's associate director of research and one of the report's authors.

Trump, a Republican, has been dogged by racial turmoil during his time in office, including the deadly violence in Charlottesville, Virginia, during a protest against a Confederate statue and the administration's reaction to illegal immigration at the United States-Mexico border.

But the White House says Trump has regularly denounced racism.

"The president has been incredibly clear and has consistently and repeatedly condemned hatred, bigotry, racism in all of its forms whether it's in America or anywhere else," White House press secretary Sarah Sanders said last month.

There were major differences in how people of different races answered questions about race in the United States.

For example, while more than 3 in 5 Americans, or 63%, said they think that the United States' legacy of slavery affects the position of black people in the country, 84% of African Americans agreed with that statement and 58% of white Americans agreed with it.

The gulf increased when Americans were asked whether the country has gone far enough in giving black people rights equal to those of white people. Overall, more than 2 in 5 Americans, or 45%, said they believe that the United States hasn't gone far enough, but 78% of black people agreed with that while only 37% of white people thought that statement was true.

Also, 50% of African Americans surveyed thought that it was not too likely or not at all likely that African Americans would eventually have equal rights in the United States.

Only 7% of white people thought it was unlikely that black people would achieve racial equality.

More than half of black people, or 52%, said being black has hurt their ability to get ahead in the United States, with 18% saying it has hurt a lot. About a quarter of Hispanics and Asians, 24% each, said that their race or ethnicity has hurt their ability to get ahead, while only 5% of white people thought their race hurt their ability to advance in this country.

Black people thought that racial discrimination was the top thing holding them back in the United States, followed by less access to high-paying jobs and less access to good schools. White people agreed on the causes, but more of them thought education was the top issue.

"One of the takeaways from this is how different people's perspectives on race are in the United States, how people bring their own experiences into these questions and how divided this country is by race and by (political) party," Horowitz said.