Hat with rivets