New electromagnetic material draws inspiration from the color-shifting chameleon