The correct response is:
Segregation was legal as long as the facilities for blacks and whites were equal.
This was the basis of the "separate but equal" doctrine established by the Supreme Court in Plessy v. Ferguson (1896), which upheld the constitutionality of racial segregation laws.