A definition for a position and its corresponding color in a gradient.
The sRGB colors (including alpha) to be distributed along the gradient
The relative positions 0..1 of each corresponding color in the colors array. If this is null, the the colors are distributed evenly along the gradient