A friend told me that it is pretentious to dress in all black when the deceased is not a close friend or family member.