ColorHLSToRGB function (shlwapi.h)
Converts colors from hue-luminance-saturation (HLS) to RGB format.
Syntax
COLORREF ColorHLSToRGB(
WORD wHue,
WORD wLuminance,
WORD wSaturation
);
Parameters
wHue
Type: WORD
The original HLS hue value. Can range from 0 to 240.
wLuminance
Type: WORD
The original HLS luminance value. Can range from 0 to 240.
wSaturation
Type: WORD
The original HLS saturation value. Can range from 0 to 240.
Return value
Type: COLORREF
Returns the RGB value.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | shlwapi.h |
Library | Shlwapi.lib |
DLL | Shlwapi.dll (version 5.0 or later) |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για