We report on the the possible utilization of photonic crystal layers to enhance the efficiency of solar cells in various configuration, both for crystalline silicon solar cells, thin solar cells or to enhance luminescent up- or down conversion. We use a relatively simple spin-coating technique to fabricate colloidal photonic crystals with good crystalline quality with high troughput and applicable for large areas up to wafer-scale sizes, compatible to standard silicon technology.