This method converts an RGB color to an HSL value.
Returns the color stored as hue, saturation, and lightness.