TR there is a whole long list of clothing etiquette and it can be a little hard to keep straight but as long as you aren't going to a white tie event (which most people will never, ever, ever go to) there is a lot of room to play with rules.
As for the Phantom you're going to want to look at late Victorian to Edwardian formal wear so
here are some basics.