I hate them too but unfortunately the vast majority of schools require them. It pisses me off how much time and energy is spent enforcing meaningless rules.
The good thing is that you don't have all these toxic, wealth-dependent, brand-indoctrinating capitalist, environmentally destructive fast fashion pressures for kids.
Choosing to wear my favourite color to school isn't "brand indoctrination". It is called being a free individual. If parents can refuse to buy their kids non essential, unaffordable electronics they can refuse to buy them fast fashion branded clothing. The solution to capitalism being shit isn't simply eliminating choice.