Yay or nay??

Would something like this type of dress except it has different colors on it and it comes down to my knees, work for a wedding? All I have are more sundresses than anything fancy to wear to weddings