A shadow will appear dark in proportion to the brilliancy of the light surrounding it and conversely it will be less conspicuous where it is seen against a darker background.
Taken from The Notebooks of Leonardo da Vinci edited by Jean Paul Richter, 1880.