As a programmer who dabbles in painting, what you are describing is indirect lighting and subsurface scattering (leaves are sort of transparent, so from the back they look yellowish, and the sky is blue, so shadows have some blue in them).
In a full rendering pipeline (not the simplified one just for the effect) this would already be implemented, but it's a good thing to remember.
In a full rendering pipeline (not the simplified one just for the effect) this would already be implemented, but it's a good thing to remember.