How to set Realtime Shadow Color through Script?

I’m trying to change the Realtime Shadow Color, which can be seen in the Lighting window under the Scene tab.

Now, I can change it in the editor, but I seemingly can’t for the life of me figure out how to change it through a script during runtime.

I have tried changing RenderSettings.subtractiveShadowColor, but turned out it wasn’t the one. Suggestions/solutions are appreciated.

Haven’t tried it personally, but this quick google:

makes me think you change the ambient color of the scene, then remove that much color from your light… but as one person pointed out in that thread, that isn’t exact because the ambient portion of the light is unidirectional.