@media (prefers-color-scheme: dark)

.box { background:green; }
<picture> with dark source

The first box should be green. The second image should appear as a night sunset and not a daylight.

caniemail.com, 2019.