HSV.rgbToHsv

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. Since 2.14 Signal Details The "changed" signal void user_function (GtkHSV *hsv, gpointer user_data) : Run First

class HSV
static
void
rgbToHsv
(
double r
,
double g
,
double b
,
out double h
,
out double s
,
out double v
)

Parameters

r double

Red

g double

Green

b double

Blue

h double

Return value for the hue component. out

s double

Return value for the saturation component. out

v double

Return value for the value component. out

Meta