That is pretty cool and awfully nice of these clams. It could indeed be inspiration to interesting tech. We already have amazing technology for light modulation if you take a look at a DPL beamer. This tiny chips have millions of tiny mirrors controlled by gas. At least TI does, I don't know if others have made progress here in the meantime. An incredible technology everyone takes for granted.
Changing the wavelength isn't trivial, this sounds very interesting. I don't know any techniques aside from passing it to another medium.