Color::SetHSV

Color::SetHSV
SF_EXPORT void SetHSV(int h, int s, int v);
SF_EXPORT void SetHSV(float h, float s, float v);
Description

SetHSV converts and assigns the passed Color::Hsv color to the current RGB color. The hue, saturation, and value (brightness) color space is useful when adjusting a set of color values or pixels, as it tends to keep colors consistent with each other. The current color's alpha channel is not changed.

Parameters
Parameters 
Description 
int h 
The hue component of the Hsv value. 
int s 
The saturation component of the Hsv value. 
int v 
The value (brightness) component of the Hsv value. 
See Also