that's true, there were black people who even fought for their confederate masters.
That being said, the party appeals to old racists and confederate flag waving idiots, because it repeals civil rights and brings back the concept of whites only hospitals and restaurants.
There are gay people in the Republican party as well - nothing about that means that the republicans would protect their rights.