In order to form the layer of anodic electrochromic material, a material can be selected which satisfies the formula MxAyUz, where M is a transition metal, A is the ion used for the reversible injection, for example an alkali metal or a proton, and U is a chalcogenide such as oxygen, sulfur or selenium, Se.