[Overview][Procedures and functions][Index] |
Map RGB colorspace to HSV colorspace.
Source position: fpg_colormapping.pas line 35
procedure RGBToHSV( |
C: TfpgColor; |
out Hue: LongInt; |
out Saturation: double; |
out Value: double |
); |
This function converts a RGB (Red, Green, Blue) colorspace value to HSV (Hue, Saturation, Value) colorspace. The parameters have specific value ranges as listed below.