racism has no biological components whatsoever. it's an ideological construction that's learned and socialized. it can only seem to be 'inherited' because our social structures perpetuate racism and our economic system preserves generational wealth. but what those people inherit is property and parents/society that teach them racism, not a racism gene.
sorry to pile on but it's very important to understand what racism is if you're going to be opposed to it, and you shouldn't have the impression it's an emergence from natural behavioral dispositions. that's a claim of "race science"--even if you're just applying it to whites, that's a real argument the segregationists use/d to justify apartheid