Title: Convert between RGB and HLS colour spaceConvert RGB colours to Hue, Luminance and Saturation. This is useful for all kind of things - eg. lighting in 3D graphics, brightness, saturation adjustment of images.type