They get their colour from phytochemicals. There are various types of phytochemicals. Cartenoids give orange and yellow colour to vegetables, while flavonoids provide deep dark colours. Chlorophyll is responsible for the green colour.