The Civil Rights Act of 1964 outlawed discrimination based on race, color, religion, sex, or national origin and ended unequal application of voter registration requirements and racial segregation in schools, at the workplace, and by facilities that served the general public.