omg i'm an idiot. i had a separate list of sky colors and sun strength scalars for the terrain to do the day night cycle
then i realized i could just convert the colors to HSL, and set the sun strength scalar based on the min, current, and max brightness of the sky colors
so `sun = (cur - min) / (max - min);`
did that and it works great :|