Is this appropriate for a funeral

my great grandfathers funeral is today and im panicking bc i don’t think what im wearing is appropriate. the only other thing i could wear is the dress i wore to my best friends funeral but i don’t feel comfortable wearing it. my parents said this is fine bc it’s just a visitation and not a service but im on edge.

Edit- I wore it and surprisingly the funeral was a lot more casual than I thought. Thank you