ShlwApiColorHLSToRGB Method

Converts colors from hue-luminance-saturation (HLS) to RGB format.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("ShlwApi.dll", ExactSpelling = true, SetLastError = true)]
public static int ColorHLSToRGB(
	ushort hue,
	ushort luminance,
	ushort saturation
)

Parameters

hue  UInt16
The original HLS hue value.
luminance  UInt16
The original HLS luminance value.
saturation  UInt16
The original HLS saturation value.

Return Value

Int32
Returns the RGB value.

Remarks

See Also