/// <summary> /// Constructs an instance of the class using the settings of another /// instance. /// </summary> /// <param name="HlsColor">The instance to clone.</param> public HlsColor(HlsColor hls) { this.red = hls.red; this.blue = hls.blue; this.green = hls.green; this.luminance = hls.luminance; this.hue = hls.hue; this.saturation = hls.saturation; }