Structurally colored silica photonic crystal coatings modified by Ce or Eu rare-earth dopants