The tunability of the band gaps in Zn-based metal-organic frameworks (MOFs) has been experimentally demonstrated via two different approaches: changing the cluster size of the secondary building unit (SBU) or alternating the conjugation of the organic linker.