taken from https://github.com/objcio/issue-7-lab-color-space-explorer