Where Did Racism Originate?

There are theories that racism is we know it began with the slave trade. It was necessary for slave owners to feel superior to the slaves in order to justify their harsh, cruel and unusual treatment of them.