Although light is an essential energy source for photosynthesis, it also plays an important role in plant development and the accumulation of secondary metabolites. Here, we investigated the effects of light stress and light recipes on the growth and secondary metabolite content of vegetables. By employing transcriptomic analyses, we established that a plant’s response to each light condition is affected by other factors, such as plant species and variety as well as plant age. This resulted in varied morphology and affected the amount of secondary metabolites like anthocyanins. We have also identified gene homologs for the biosynthesis pathways of these metabolites, which can be further investigated in future studies.