Look no further at the origins of such philosophy than the evolutionary philosophizer, himself. Read the full title of Charles Darwin's infamous work:
On the Origin of Species by Means of Natural Selection, or the Preservation of Favoured Races in the Struggle for Life. (1859)
Darwin expounds further on what he means some years later:
"At some future period, not very distant as measured by centuries, the civilized races of man will almost certainly exterminate, and replace, the savage races throughout the world." At the same time the anthropomorphous apes, as Professor Schaffhausen has remarked, (Anthropological Review, April, 1867, p. 236) will no doubt be exterminated. The break between man and his nearest allies will then be wider, for it will intervene between man in a more civilised state, as we may hope, even than the Caucasian, and some ape as low as a baboon, instead of as now between the negro or Australian and the gorilla." (Charles Darwin, 1871, The Descent of Man, Chap. vi)
Or from "Darwin's Bulldog" and then-contemporary mouthpiece, Thomas Huxley:
"No rational man, cognizant of the facts, believes that the average Negro is the equal, still less the superior, of the white man.....it is simply incredible to think that.....he will be able to compete successfully with his bigger-brained and smaller-jawed rival, in a contest which is to be carried on by thoughts and not by bites."
(Thomas Huxley, 1871, Lay Sermons, addresses and reviews)
Such philosophy is parroted to this day by "esteemed" latter-day atheists and intellectualized racists like the late Harvard U evolutionary apologist, Stephen Jay Gould, PhD.
"Biological arguments for racism may have been common before 1850, but they increased by orders of magnitude following the acceptance of evolutionary theory. The litany is familiar: cold, dispassionate, objective, modern science shows us that races can be ranked on a scale of superiority. If this offends Christian morality or a sentimental belief in human unity, so be it; science must be free to proclaim unpleasant truths. But the data were worthless If the chorus of racist arguments did not follow a constraint of data, it must have reflected social prejudice pure and simple "
(Stephen Jay Gould, Ontogeny and Phylogeny, Belknap-Harvard Press, 1977, page 127128.)
FReegards!
But one has to be as blind as a bat or delusional to deny the existence of races, or to disagree with what Huxley said...
"No rational man, cognizant of the facts, believes that the AVERAGE Negro is the equal, still less the superior, of the {AVERAGE} white man.....it is simply incredible to think that.....he will be able to compete successfully with his bigger-brained and smaller-jawed rival, in a contest which is to be carried on by thoughts and not by bites."
Following is one of the facts that Huxley didn't know in his time, but that we know today, (though he deduced it simply by believing his lying eyes) 
It is tragic that this is reality, but denying it doesn't solve the problem.