Our legal code obviously is based on English law in most states. One would learn such things in law school or just by reading.
And there is influence from the Bible of course or Hammurabi or whatever, an evolution of older criminal codes into ours. They pretty much all outlaw the strong taking advantage of the poor, theft, violence, murder, pretty much common themes throughout the world on the basics.
One can of course claim it's from white folks as our FFs were white folks, and the state leaders were white folks, but the code would be pretty much the same no matter who wrote it.