A polyacrylamide-based nanogel sensor was constructed for spectral and visual colorimetric fluorescence measurement of ionizing radiation doses. The sensor showed a good linear and reproducible response in the dose range of 0-20 Gy with low errors, temperature stability and durability. The sensor was used to detect X-ray-irradiated tumor cell doses.