Diffusion-Modulated Colorimetric Sensor for Continuous Gas Detection