Cs2SnIxCl6−x perovskites were synthesized using hydriodic acid as an iodine source, and the color scheme displays a tunable band gap with varying I−/Cl− ratios.