There are many unspoken rules about weddings that people in society follow. A lot of times, wedding etiquette is just simple things you do and do not do when attending someone else's wedding.
From gift-giving to dress code, everyone knows that you do specific things to not "upstage" the couple or look cheap. One unspoken rule is that you don't wear white to someone else's wedding.