Scientists have designed and fabricated a simple device capable of imaging a gas injected into it in multiple colors in accordance with its gaseous properties, enabling chromatic discrimination of different gases. This user-friendly device converts the pressure generated by an injected gas into structural colors, thereby imaging it. This technology may potentially have a wide range of applications, such as environmental monitoring, safety assurance and healthcare.