3D-printable colloidal photonic crystals