Nanocellulose dyed with red onion skin extract can protect solar cells from up to 99.9% of UV radiation up to 400 nanometers.