Visualization electrochromic-supercapacitor device based on porous Co doped NiO films