Share via


HslColor.ToRgbColor Method

Definition

Converts an HSL color representation to an RGB color representation. The algorithm implemented is from the following KnowledgeBase article: https://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b29240, and from "Computer Graphics: Principles and Practices" by Foley, vanDam, et.al., pp. 592-596.

public:
 System::Drawing::Color ToRgbColor();
public System.Drawing.Color ToRgbColor ();
member this.ToRgbColor : unit -> System.Drawing.Color
Public Function ToRgbColor () As Color

Returns

The converted color in System.Drawing.Color format.

Applies to