Function
Gtkrgb_to_hsv
Declaration [src]
void
gtk_rgb_to_hsv (
gdouble r,
gdouble g,
gdouble b,
gdouble* h,
gdouble* s,
gdouble* v
)
Description [src]
Converts a color from RGB space to HSV.
Input values must be in the [0.0, 1.0] range; output values will be in the same range.
Available since: | 2.14 |
Parameters
r |
gdouble |
Red. |
|
g |
gdouble |
Green. |
|
b |
gdouble |
Blue. |
|
h |
gdouble* |
Return value for the hue component. |
|
The argument will be set by the function. | |
s |
gdouble* |
Return value for the saturation component. |
|
The argument will be set by the function. | |
v |
gdouble* |
Return value for the value component. |
|
The argument will be set by the function. |