Patterning colloidal photonic crystals have broad important applications in optical devices, functional coatings, full color displays, and colorimetric sensors. In this paper, a clickable colloidal photonic crystal using vinyl-modified sub-micrometer silica particles as building blocks was proposed to pattern photonic crystals. By click chemistry, different chemical groups were simply grafted to the clickable photonic crystals film and obtained wettability-encoded structure color patterns. The clickable photonic crystals provide a simple, controllable, and rapid path to pattern photonic crystals.