The colloidal assembly of a nanoporous electrochromic 1D Bragg mirror comprising NiO and WO3 nanoparticle multilayers enables the convolution of electrically tunable electronic crystals and photonic crystals into a single device, providing thereby a distinctive means of creating and manipulating color.