Food dyes and colours extracted from blackberry juice (and other berries) have been explored by people making dye-sensitised solar cells, a closely-related application. Their main problem is longevity.