It should work, modern headlights are no joke, but I admit that I’m not sure. If you have enough light to perceive a broad range of colors it should work.
The shadows would appear wrong when lit by headlights, which might be a little bit disorienting. The shadows are rendered as if a light was high overhead.
I think the illusion would still work fine, but feel subtly "wrong" to the driver. Probably good enough to get people to slow down, though.