Research indicates that eating a diet with plenty of carotenoids tends to lead to a complexion that's regarded as healthier looking, with a more yellow-orange hue.
It also appears to provide protection from sun burn equivalent to sun cream with an SPF of 2 to 4. Which is still way below a proper sun block and should not be used as a substitute for proper protection from the sun.
It's the colourful veggies that tend to be high in carotenoids, eg carrots, tomatoes, sweet potatoes, kale.
The skin colouration change isn't going to be as extreme as what can be achieved with cosmetics. And it takes a few weeks on such an eating regime for the skin colouration changes to happen.
There are a whole host of beneficial effects from eating plenty of carotenoid veggies.