static void ColorRGBASaturate(PaintJob j, int idx, ref object v, float r)
{
var st = j.stream;
float h, s, b;
Color.RGBToHSV(st.colors[idx], out h, out s, out b);
s = Mathf.Lerp(s, 1.0f, r);
Color res = Color.HSVToRGB(h, s, b);
st.colors[idx] = new Color(res.r, res.g, res.b, st.colors[idx].a);
}