TECHNOLOGY FOCUS - INORGANIC CHEMISTRY - Preferred Composition: The composition absorbs light of 250-900 nm. Preferred Components: The cation and/or anion are photoactive ion. The cation absorbs light of 400-900 nm and has a highest occupied molecular orbital (HOMO) of 0.1-1 eV of the HOMO of the cathode. The cation has a HOMO of 0.1-0.6 eV of the HOMO of the cathode. The anion absorbs light of 400-900 nm and has a lowest unoccupied molecular orbital (LUMO) of 0.1-1 eV, preferably 0.1-0.6 eV of the LUMO of the anode. The cation and the anion form an ionic liquid that has a melting point of below 100 degrees C. The cation's and the anion's molecular orbitals are within 1 eV of the molecular orbitals of the corresponding electrodes. The cation and the anion form the ion pair. The cation and the anion form an ionic liquid and the ionic liquid is synthesized by metathesis of salt forms of the cation and the anions or by an acid base reaction. The cation is Janus green B, Astrazon orange G, Crystal violet, Rhodamine B, Basic yellow, Protonated porphyrins, or Protonated phthalocyanines. The anion is a tetracarboxylic acid functionalized porphyrin, dye-substituted fullerene or graphene, aliphatic sulfate, aliphatic carboxylate, aliphatic phosphonate, oleic acid, linoleic acid, oleate, linoleate or graphene derivative. The anion contains at least one conjugated bond. The anion contains all conjugated bonds. The anion is protoporphyrin IX disodium salt, perylene tetracarboxylic acid, copper(II) phthalocyanine-tetrasulfonic acid, carboxylic derivative of (6,6)-phenyl 61C butyric acid methyl ester, or a fullerene anion. The cation is a protonated aliphatic amine. The cation and anion are Astrazon orange G proto-porphyrin IX, Astrazon orange-phenyl 61C butyrate, Astrazon orange perylene tetracarboxylate, methylene blue dodecyl sulfonate, methylene blue-phenyl 61C butyrate, methylene blue-perylene tetracarboxylate, methylene blue oleate, methylene blue-protoporphyrin IX, Janus green B dodecyl sulfonate, Janus green B oleate, Janus green-phenyl 61C butyrate, Janus green-perylene tetracarboxylate, Janus green-protoporphyrin IX, Janus green B-protoporphyrin IX-copper(II)-oleate, Janus green B-protoporphyrin IX-zinc(II)-oleate, Janus green B-protoporphyrin IX-cobalt(II)-oleate, Janus green B-protoporphyrin IX-silver(I)-oleate, crystal violet dodecyl sulfonate, crystal violet oleate, crystal violet-phenyl 61C butyrate, crystal violet-perylene tetracarboxylate, crystal violet-protoporphyrin IX, crystal violet-protoporphyrin IX-copper(II)-oleate, crystal violet-protoporphyrin IX-cobalt(II)-oleate, crystal violet-protoporphyrin IX-zinc(II)-oleate, crystal violet-protoporphyrin IX-silver(I)-oleate, Astrazon orange dodecyl sulfonate, Astrazon orange oleate, Astrazon orange-protoporphyrin IX-copper(II)-oleate, Astrazon orange-protoporphyrin IX-cobalt(II)-oleate, Astrazon orange-protoporphyrin IX-zinc(II)-oleate, Astrazon orange-protoporphyrin IX-silver(I)-oleate, Basic yellow 11-dodecyl sulfonate, Basic yellow 11 oleate, Basic yellow 11 protoporphyrin IX, Basic yellow 11 phenyl 61C butyrate, Basic yellow 11 perylene tetracarboxylate, Basic yellow 11 protoporphyrin IX-copper(II)-oleate, Basic yellow 11 protoporphyrin IX-cobalt(II)-oleate, Basic yellow 11 protoporphyrin IX-zinc(II)-oleate, Basic yellow 11 protoporphyrin IX-silver(I)-oleate, astra propyl blue-dodecyl sulfonate, astra propyl blue-oleate, astra propyl blue-protoporphyrin IX, astra propyl blue-phenyl 61C butyrate, astra propyl blue-perylene tetracarboxylate, astra propyl blue-protoporphyrin IX-copper(II)-oleate, astra propyl blue-protoporphyrin IX-cobalt(II)-oleate, astra propyl blue-protoporphyrin IX-zinc(II)-oleate, astra propyl blue-protoporphyrin IX-silver(I)-oleate, rhodamine B-dodecyl sulfonate, rhodamine B-oleate, rhodamine B-protoporphyrin IX, rhodamine B-phenyl 61C butyrate, rhodamine B-perylene tetracarboxylate, rhodamine B-protoporphyrin IX-copper(II)-oleate, rhodamine B-protoporphyrin IX-cobalt(H)-oleate, rhodamine B-protoporphyrin IX-zinc(II)-oleate, rhodamine B-protoporphyrin IX-silver(I)-oleate, protoporphyrin IX-copper(II)-oleate, protoporphyrin IX-zinc(II)-oleate, protoporphyrin IX-cobalt(II)-oleate or protoporphyrin IX-silver(I)-oleate. The first electrode comprises: aluminum, boron, cadmium, chromium, cobalt, copper, gallium, gold, hafnium, iron, indium, manganese, molybdenum, nickel, niobium, palladium, platinum, silver, tantalum, tin, titanium, tungsten, vanadium, zinc or zirconium; an aluminum alloy, silver alloy, copper alloy, lithium alloy, molybdenum alloy, chromium/aluminum neodymium alloy, or molybdenum/aluminum alloy. The second electrode comprises: a conductive material that is transparent, semitransparent or translucent; indium tin oxide, fluorine tin oxide, indium zinc oxide or molybdenum oxide, cesium carbonate, metal borides, metal carbides, graphene, graphene oxide, nickel mesh, or carbon mesh; polyacetylene, polypyrrole, polyaniline, polyphenylsulfide, polythiophenes, or polyethylene dioxythiophene doped with polystyrene sulfonate; and poly(3,4-ethylenedioxythiophene)-poly(styrenesulfonate), poly(3,4-ethylenedioxythiophene), poly(3,4-ethylenedioxythiophene)-block-poly(ethylene glycol), poly(thiophene-3-(2-(2-methoxyethoxy)ethoxy)-2,5-diyl), sulfonated, or polyaniline (emeraldine salt). EXAMPLE - No suitable example given.