Basing their work on the techniques used by octopuses and cuttlefish, US engineers have produced a flexible, colour-changing material.