You imply people only voted for Obama because he was black.
Yes, but probably not the way you might think.
Black turnout was very high, higher than normal so they could vote for the person that would become the 1st black President. Not really that hard to understand. And who could blame them.