Complex gradient loop

like this?

float[] positions =  new float [12];
float [x1] = 525;
float [y1] = 150;
float [x2] = 990;
float [y2] = 500;
float [x3] = 550;
float [y3] = 925;
float [x4] = 275;
float [y4] = 725;
float [x5] = 500;
float [y5] = 125;
float [x6] = 250;
float [y6] = 200;

color[] colors = new color [];
color [a] = color(179,100,100);
color [b] = color(68, 100,100);
color [c] = color(303, 100,100);
color [d] = color(299, 100,100);
color [e] = color(276, 100,100);
color [f] = color(193, 100,100);