ColorHelpers.HslToRgb method
Version 1.0.2
.NET Framework 4.7
Namespace | Skybrud.Colors |
---|---|
Assembly | Skybrud.Colors.dll |
HslToRgb(double, double, double, out int, out int, out int)
Static
Converts an HSL color to a RGB color.
public static Void HslToRgb(double hue, double saturation, double lightness, int red, int green, int blue)
Parameters
hue
Double
The amount of hue in the HSL color.
saturation
Double
The amount of saturation in the HSL color.
lightness
Double
The amount of lightness in the HSL color.
red
int
The amount of red in the RGB color.
green
int
The amount of green in the RGB color.
blue
int
The amount of blue in the RGB color.
Returns
HslToRgb(HslColor, out int, out int, out int)
Static
Converts the specified HslColor to a RGB color.
public static Void HslToRgb(HslColor hsl, int red, int green, int blue)
Parameters
red
int
The amount of red in the RGB color.
green
int
The amount of green in the RGB color.
blue
int
The amount of blue in the RGB color.