Example of what not to do:
This is HSV lerp between two sectors, obvious issues as introducing new hues into transition and perceptual luminosity spike.
RGB lerp would cause perceptual luminosity dip.
Obvious solution is better color space for transition, I´ve decided for XYZ but you can use and derived more modern system, Lab seems fine for instance.
Inb4 "you are terrible technically artist if you found out after implementation": Nope, I knew exactly how HSV lerp will look like but my input from my modTool is HSV and code was already here so I though it will be nice example from real application as on net you can mostly just finds comparison through color gradients, here you can see how picking wrong color space can be annoying in real game.
I have everything I need for XYZ altho it seems like I broke my conversion slightly yesterday before I went to sleep internal screaming. I will throw XYZ and maybe RGB transitions here as well later, but now I have to take care of some irl issues.
Edit: and XYZ color space transition