Yes. But on the basis of the scant few facts you have provided, it would NOT be considered ILLEGAL discrimination.
Your mistake is in assuming that all discrimination is illegal. In fact, very little is. You discriminated against your green shirt when you put the blue one on today. You...