In the Plessy v. Ferguson Case (1896), the Supreme Court allowed the doctrine of "separate but equal" to continue stating that racially segregated public facilities were legal because they did not imply any inequality toward African Americans: they were consistent to the doctrine of "separate but equal." However, in reality, segregation laws did not provide equal protection or liberties to non-whites: the segregated facilities were unequal and violated the equal protection of the laws stated in the 14th Amendment.
The "Jim Crow" laws (1877-1950's) also discriminated against African-Americans, these were a series of restrictions on black civil right designed to prevent African Americans from gaining equality. The statutes prohibited African American to attend and be in certain places where white people were such as neighborhoods, restrooms, building entrances, elevators, cemeteries, amusement-park, cashier windows, hospitals, jails, etc.
Lastly, the Black Codes were laws passed in 1865 and 1866 after slavery was abolished, however, they are considered a form of slavery because they compelled African Americans to work for very low wages and legally considered them vagrants if they were found unemployed; besides if they were seen as vagrant, they could be arrested, fined, and bound out for a term of labor if unable to pay the fine.