Since we started gathering ourselves into groups larger than simple clans and tribes, since we started to have hierarchies within our societies, there have been repeated tries at making certain clothing, fabrics, colors and trimmings inaccessible to some of the population.
As far back as the Roman Empire, at least in the western world, and far earlier than that in China, there were laws governing the usage of apparel items, and in especial for both those cultures, colors.
In the roman world, two colors were very carefully controlled. Red, worn as stripes on the toga, was only to be done by members of the senate, and non-citizens were disallowed the color red entirely.
In China, it was a special shade of yellow, a brilliant saturated yellow that was the special province of the emperor and his family. Others using this color in their attire faced death, though there are no documented cases of this being done.
The sad fact, for all those monarchs and elitists was that regardless of how many laws were made, or how severe the punishments were, the sumptuary laws were routinely ignored by the people, as being largely unenforceable. There are only a tiny number of recorded convictions based on flouting such laws.
What made this so hard to prosecute was the growing importance of the merchant class, and their subsequent buying power and social influence. The upper class may not have wanted to associate with them, but they could not ignore them, since they often owed a good deal to them in literal terms. There was simply put, no way to stop people from dressing better if they had the wherewithal to do so.