Unlike the green and yellow pigments, red and purple pigments (anthocyanins, part of the flavonoid class) actually form in leaves in the autumn, tinting leaves scarlet and burgundy.