Some states denied property rights to blacks. They denied their access to have jobs. Some codes would not let blacks intermarry. The others wouldnt let them serve on juries. Believe it or not some said that if you work for them you must grt their permisson to quit the job first. Black codes were sometimes like slavery.
Between 1877 and 1960's