Each color can contain an optional fourth component, which represents the length of the interval between the two colors. For N colors, there are
N − 1 intervals. An example of a color table that defines a sharp transition from blue to magenta followed by a slow transition from magenta to red: