The correct response is:
A. segregation was legal
The Supreme Court's decision in Plessy v. Ferguson (1896) upheld the constitutionality of racial segregation under the "separate but equal" doctrine, effectively legalizing segregation in public facilities.