rgba support for selectionPalette

I strongly need the support of alphatransparency, so I was very happy to discover spectrum.
However, the selected colors are currently stored in a hex format, which lacks the alphachannel.

I changed the colorformat in the color palette from hex to rgb, so that selected colors with alphatransparency will be saved correctly.