[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.