Fix intermediate colors in gradients

Intermediate colors in gradients should be formatted as color:offset, not offset:color.
Merge pull request #4 from beneater/fix-gradients

Fix intermediate colors in gradients