Hsl

Google for color conversion algorithms. I researched this some time ago but google really pointed me in the right direction. I needed it to draw a palette of every color so the user could pick a color to draw with.