.
static extern int ColorHLSToRGB(int H, int L, int S);
.
static extern int ColorHLSToRGB(int H, int L, int S);
.
// ColorHLSToRGB returns a Win32 RGB value (0x00BBGGRR). To convert to System.Drawing.Color
.
return ColorTranslator.FromWin32(ColorHLSToRGB(H,L,S));
.