Yeah, there is perhaps some element of racism in there, but it's just one part of the spectrum of Trump voters. There's all kinds of nasty and also all kinds of not-nasty. To say that just nasties voted Trump is to drastically underestimate the scale of the situation and, indeed, dismiss the underlying problems. There's all kinds of differences in this, age, gender, race, trends that people are going to pick over for the next four years, some examples I will drag from the BBC and post below:
http://www.bbc.co.uk/news/election-us-2016-37889032
Time will tell.