Enhanced fluorescence was achieved by tuning the photonic band gaps in colloidal photonic crystals and host–guest chemistry.