Colors on ion-range bar

Hello guys,

i am trying to make a ion range bar with dual knobs but i need an option to have three different colors on the range bar - one before first knob, one between knobs, and one after the second knob. The result i have in my mind is that :

Does anyone know if this is possible to do ?

Thanks !