In the UK and Australia, It is examined under "Direct Racial Discrimination" and "Indirect Racial Discrimination". If you are treated directly because of your race, this is called direct race discrimination.
If there is a rule or policy that is the same for everyone but has an unfair effect on people of a particular race, color, ethnic origin or immigrant status, this is called indirect race discrimination.
It may be indirect racial discrimination, if a company says that employees must not wear hats or other head wear at work, as this is likely to have an unfair effect on people from some racial/ethnic backgrounds.
An example from the United States,
In Griggs v. Duke Power Company, Duke Power required a benchmark IQ aptitude test score and high school diploma for applicants for some of the highest paying jobs in their steam station. The adverse discriminatory impact came about because African-American applicants were disqualified at a much higher rate than their white peers, and the U.S. Supreme Court determined that the purpose of the test was in fact to weed out African-Americans from the hiring process for those jobs. The hiring procedure did not fulfill a genuine business need and had an adverse impact on a protected class; therefore, it was deemed indirect discrimination. -- Case link
:: More Info ::Australian human rights commission - Racial discriminationCitizen Advice UK - Racial discriminationIndirect discrimination in US and UK lawHRacuity - Indirect discrimination