The laws about voting (poll taxes, grandfather clauses) did claim to not be about race to pass muster regarding the 15th amendment, but the same is not true of laws concerning exercise of other civil liberties. The bulk of Jim Crow laws were quite explicitly discriminating on race.