The role of anthocyanin in photoprotection and its relationship with the xanthophyll cycle and the antioxidant system in apple peel depends on the light conditions.