Add support of other forms of RGB triplets
https://github.com/stepio/jpasskit/issues/4