Fix for #75: support array of swatches.

Specify swatches as an array of {name: '000000', r: 0, g: 0, b: 0}.
Merge pull request #77 from pablograna/master

Fix for #75: support array of swatches.