---
name: "ColorHLSToRGB"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/ColorHLSToRGB"
---

# ColorHLSToRGB(3w)

## NAME

**ColorHLSToRGB** (SHLWAPI.@)

## SYNOPSIS

COLORREF ColorHLSToRGB\
  (\
   WORD *wHue*,\
   WORD *wLuminosity*,\
   WORD *wSaturation*\
  )

## DESCRIPTION

Convert from hls color space into an rgb **COLORREF**.

## PARAMS

*wHue* **\[In\]**  Hue amount.

*wLuminosity* **\[In\]**  Luminosity amount.

*wSaturation* **\[In\]**  Saturation amount.

## RETURNS

A **COLORREF** representing the converted color.

## NOTES

Input hls values are constrained to the range (**0..240**).

## IMPLEMENTATION

Declared in **"shlwapi.h"**.

Implemented in **"dlls/shlwapi/ordinal.c"**.

Debug channel **"shell"**.
