Condividi tramite


CDrawingManager::HSVtoRGB

Converts a color from a HSV representation to a RGB representation.

static COLORREF __stdcall HSVtoRGB(
   double H,
   double S,
   double V
);

Parameters

Parameter

Description

[in] H

A number between 0 and 360 that indicates the hue for the color.

[in] S

A number between 0 and 1 that indicates the saturation for the color.

[in] V

A number between 0 and 1 that indicates the value for the color.

Return Value

The RGB representation of the HSV color provided.

Remarks

A color can be represented as HSV (hue, saturation, and value), HSL (hue, saturation, and luminosity), or RGB (red, green, and blue). For more information about the different representations of color, see Color.

Requirements

Header: afxdrawmanager.h

See Also

Reference

CDrawingManager Class

Hierarchy Chart

CDrawingManager::RGBtoHSV