Thanks for your query and picture.
The nails are showing evidence of fungal infection and the blackness may be result of this or due to a trauma, the history of which you have not given.
It appears from the picture that you need to take antifungal treatment from your Doctor.
Remember that it takes 1 year for toenails to grow, hence you have to continue treatment that long.
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.