The tl;dr is that there were laws, like vagrancy (i.e. not having a job), that were vague and applied to "everybody" but realistically only applied to black people through legal jiu jitsu and selective blindness on the part of police. Sundown towns are known as such for that behavior. They were (are) very unwelcoming if you're not white.