If you’ve ever had a beautiful purple cauliflower that looked like it had the life drained out of it or made a batch of broccoli that turned a color that can only be described as puke green, you probably thought you had some bad luck or bad produce. In reality, it was neither; it was just plant pigments doing their thing. There are three main categories of pigments that give vegetables their vibrant colors, and they each need to be treated differently to keep your veggies looking their best and brightest.