rgb_to_hsv


Description:


[ Version ( since = "2.14" ) ]
public void rgb_to_hsv (double r, double g, double b, out double h, out double s, out double v)

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.

Parameters:

r

Red

g

Green

b

Blue

h

Return value for the hue component

s

Return value for the saturation component

v

Return value for the value component


Namespace: Gtk
Package: gtk+-3.0



2022 vala-language.org