Sure you could go the whole “everybody was racist back then” route. Maybe it’d work against the Babe or Honus. But Cobb and his family helped the black community.
IIRC his dad was an abolitionist and his grandfather was run out of town for helping black people,
anyways here’s an
article about this topic. It’s not the same one someone on this website sent me years ago, but it does mention some of the things he did, like remodel homes in the black community, and fight for African Americans to play in the Texas League, etc.