Pull request for issue #22

See https://github.com/bennyguitar/Colours/issues/22