I have an SVG tank vessel.
I am able to set fill color.
Instead of filling color discreet. (90=orange 100=red)
I want to fill color continuously. where 95 will be somewhere between orange and red.
I want to convey the inside pressure of tank by the fill color (best if gradient)
For the style:
Can you create a function that takes in analog value of 0-100 and outputs a color from white to red?