Farbtastic convert HSL back to RGB or Hex
Edit: Posting Solution I wanted to create color swatches based on the color chosen in Farbtastic. I did my calculations on the HSL value, because it's easier and produces better results. After getting the HSL value from Farbtastic, I added brightness to create a new color. The new color is in HSL format, and I need to switch it back to RGB or Hex, in order to display it and save it for use later. Some browsers display HSL, but I have no faith that all mobile browsers etc will do so. The problem was to convert variable 'newcolor' back to RGB or Hex, once the calculation was done. // collect