In 1,840, Swedish researcher Berzelius first used the name melanin (Roy et al., 2019). Melanin is a polymer biopigment formed by oxidative polymerization of phenols and terpenoids with sugars and proteins. Melanin, a substance ranging from dark brown to black that can protect the skin from ultraviolet rays, is a well-known component of human hair (Riley, 1997;Xiao et al., 2018). Melanin is insoluble in water, acidic solutions, and common organic solvents (d'Ischia et al., 2013), which is characteristic of natural melanin. However, eumelanin can be extracted by dissolving in 10% sodium hydroxide aqueous solution, filtering, and precipitating with dilute hydrochloric