Yes, but I suppose it's less of an issue for a man. I have heard of funerals where it's been requested that guests wear bright colours to celebrate the life; I'd do that if I knew it was what the deceased wanted.
How old were you when you first went to a funeral?