For nanoparticles, it's due to surface plasmon resonance mainly dependant of the dielectric constant of the material of the nanoparticle and its diamater. For instance, see:
For nanostructures, it depends of the structure (bumps, grids, 2D, 3D, ...), but for a periodic structures, as photonic crystals ,you have photonic bandgap as electron bandgap for semiconductors but for photons. As instance, take a look at:
http://en.wikipedia.org/wiki/Photonic_crystal
You can see these natural effects of color of photonic crystals on some butterfly wings.
For nanoparticles, it's due to surface plasmon resonance mainly dependant of the dielectric constant of the material of the nanoparticle and its diamater. For instance, see:
For nanostructures, it depends of the structure (bumps, grids, 2D, 3D, ...), but for a periodic structures, as photonic crystals ,you have photonic bandgap as electron bandgap for semiconductors but for photons. As instance, take a look at:
http://en.wikipedia.org/wiki/Photonic_crystal
You can see these natural effects of color of photonic crystals on some butterfly wings.
Agreed. Periodic structures in the order of wavelength such as a quarter or one third of wavelength acts as a grating. However, due to interference as well as scattering the color and its hue varies.
I agree with Jerome regarding nanoparticles when these are made of metal. For semiconducting particles such as CdS or PbS (or many others), the quantum confinement results in a discretization of the electronic states (which are continuous in bulk materials) and a bandgap widening. Usually, these two factors combined together allow the nanoparticles to become strongly fluorescent (flashy color when illuminated with a UV light) and one can select the actual color by simply controlling the size (size => bandgap => radiation frequency).