Light-activated polymers take a leaf from nature’s book in generating structural colour and hydrophobicity which researchers say could find a host of applications