New colloidal materials for battery and photonic applications