This study successfully obtained and modified intact melanin particles from natural sources with superior structure and performance, and achieved melanin-based composites with perfect UV protective properties. The findings pointed to overcome the inherent disadvantages of melanin, deeply investigate the optical properties, realise melanin as a multi-functional dopant in various substrates, and extend the applications of melanin-based materials.