Greetings!
The Civil Rights act, was an act enforced to end all segregation. This included- discrimination against race, color, nationality, the fact you were a minority or not.
Though it did not end all racism, it gave others of colored background equal freedom to jobs, to the privilege of voting, and other things that the average american has access to.
Hope this helps!