C# Editable Gradient sky in the Shader Graph.

I am working on a DayNight cycle mechanic, and i wanted a custom gradient sky in the ShaderGraph. I created a couple different gradients using the “Sample Gradient” node, but then found out i cant reference them in script. My end goal is to have around a 7 or 8 level color gradient that i can edit/reference in a C# script. i totally understand if this is impossible.

Thank you in advance for your time, and have a wonderful day.

Unity has a Gradient class that can be edited in the inspector and referenced/sampled in script.