Preparation of core-shell-structured nanoparticles (with a noble-metal or metal oxide core and a chromia shell) and their application in water splitting by means of visible light.