Package: gtk

Function gtk:rgb-to-hsv

Lambda List

gtk:rgb-to-hsv (r g b)

Arguments

r -- a number coerced to a double float for the red component
g -- a number coerced to a double float for the green component
b -- a number coerced to a double float for the blue component

Return Value

h -- a double float with the hue component
s -- a double float with the saturation component
v -- a double float with the value component

Details

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.
 

See also

2025-3-9