formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics

fzrt_rgb_2_hsv

Description

Converts an RGB color to HSV color This will convert a color from the Red, Blue, Green model to the nearest color in the Hue, Saturation, and Value model.

Plugin Prototype

void fzrt_rgb_2_hsv(

fzrt_rgb_color_td *

rColor,

fzrt_hsv_color_td *

hColor )

Parameters

rColor [Input]

color in rgb color space to be converted

hColor [Result]

closest color to rgb color in hsv color space

Availability

5.0.0.0

See Also

fzrt_hsv_2_rgb

Function Set

fz_fzrt_graf_fset


Defined in

fzrt_api.h