nature features a plethora of extraordinary photonic architectures that have been optimized through natural evolution in order to more efficiently reflect, absorb or scatter light. While numerical optimization is increasingly and successfully used in photonics, it has yet to replicate any of these complex naturally occurring structures. Using evolutionary algorithms inspired by natural evolution and performing particular optimizations (maximize reflection for a given wavelength, for a broad range of wavelength or maximize the scattering of light), we have retrieved the most stereotypical natural photonic structures. Whether those structures are Bragg mirrors, chirped dielectric mirrors or the gratings on top of Morpho butterfly wings, our results indicate how such regular structures might have spontaneously emerged in nature and to which precise optical or fabrication constraints they respond. Comparing algorithms show that recombination between individuals, inspired by sexual reproduction, confers a clear advantage that can be linked to the fact that photonic structures are fundamentally modular: each part of the structure has a role which can be understood almost independently from the rest. Such an in silico evolution also suggests original and elegant solutions to practical problems, as illustrated by the design of counter-intuitive anti-reflective coatings for solar cells. Nature features a diversity of photonic architectures producing the most vivid optical effects 1-3. Regularly alternating chitin and melanin layers constitutes, for instance, a very efficient way to reflect light, giving the structure a colored metallic appearance. Such structures can be found on the cuticle of many insects, including common flies (e.g. Lucilia sericata) or beetles (e.g. Chrysolina americana or Asphidomorpha tecta). These ubiquitous structures have been optimized through natural evolution during millions of years, which suggests that they provide an evolutionary advantage to all the animals. While such dielectric, multilayered mirrors 4 are relatively simple, more complicated architectures can be found in many animals. Most famous are probably the nanosized christmas-tree-like ridge structure of Morpho butterfly wing scales 5,6. These nano-sized christmas-trees, assembled of transparent chitin, are responsible for the bright iridescent blue color of the Morpho rethenor wings which has made the butterfly so famous. Numerical optimization has been extensively used in photonics for the last decades, especially in the context of optical filters 7,8 for their technological importance-the multiplexers used to increase the bandwidth of optical fibers rely on such multilayered structures. By 'simply' choosing the thicknesses of transparent layers with alternating refractive index (RI), it is possible to design and manufacture virtually any kind of optical filter 9. Efficient algorithms have been developed to solve precisely this kind of inverse problem: finding the right geometrical (thicknesses) and optical (RI) parameters of the...