RGtk2 (version 2.20.31)

gtkRgbToHsv: gtkRgbToHsv

Description

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.

Usage

gtkRgbToHsv(r, g, h, s, v)

Arguments

r
Red
g
Green
h
Return value for the hue component
s
Return value for the saturation component
v
Return value for the value component

Details

Since 2.14