Bleeding underneath the nail, or subungual hematoma, often causes an entire nail or a small part of one to look black or darkened. A black toenail can also be caused by something more serious, such as skin cancer.