Fix intermediate colors in gradients

Intermediate colors in gradients should be formatted as color:offset, not offset:color.