1. An X-ray detector comprising a scintillator including a doped alkali halogenide, and comprising an array of photodiodes including at least one photodiode containing a semiconductor material, characterized in that a color transformer containing a photoluminescent phosphor is arranged between the scintillator and the array of photodiodes.