Melanonychia is a brown or black stain in your fingernail or toenail. You can have a dark line on one nail, a few nails, or all of your nails. The line is caused by the natural color in your body ...