I don't think it was racism that prompted the birther controversy. But there WAS secrecy when Obama first refused to produce a birth certificate, and then when he did, only allowed it to be examined by two parties, both friendly to him who then presumably posted a photo of it on line. And then Obama refused to allow the long form to be released at all. (Trump claims credit for making that happen and has subsequently said that he was satisfied that Obama was born in Hawaii.)
We have never had a President
born to a Muslim father who immediately abandoned the family. We have never had a President whose
non-religious single mother then married another Muslim and
lived with her son in Indonesia, a Muslim country, during the President's adolescence and impressionable years. We have never had a President who joined a racist, black supremacist, Marxist church that had its admiration and tribute to Louis Farrakhan on its website and who claimed the pastor to be his long time mentor. When that pastor became controversial, Obama threw him under the bus and later resigned from the church after it became a political liability. And we have never had a President who
spoke so little of his claimed Christian faith and extolled such appreciation for the Muslim faith.
Obama quits church, citing controversies - CNN.com
Obama could have been lily white or any other hue, and I think all that would have raised significant questions in the minds of especially those who favored the GOP candidate in 2008 and 2012.
But again, the time to raise such questions is during the campaign--the media of course did not question all that much out of fear of being accused of racism--and it is wrong to question it after the election is over and try to use it to delegitimize a lawfully elected President.