For decades, being a student in Tokyo meant you had to look a certain way. Under the public school system's dress code, all students had to dye their hair black, certain hairstyles were prohibited and even their underwear had to be a designated color.
source https://www.cnn.com/style/article/japan-tokyo-schools-dress-code-dropped-intl-hnk-scli/index.html