Stable, color-changing compound shows potential for electronics, sensors and gas storage.