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

fzrt_rgb_2_hsl

Description

Convert RGB to HSL color This will convert a color from the Red, Blue, Green model to the nearest color in the Hue, Saturation, and Lightness model.

Plugin Prototype

void fzrt_rgb_2_hsl(

fzrt_rgb_color_td *

rColor,

fzrt_hsl_color_td *

hColor )

Parameters

rColor [Input]

color in rgb color space to be converted

hColor [Result]

closest color to rgb color in hsl color space

Availability

5.0.0.0

See Also

Function Set

fz_fzrt_graf_fset


Defined in

fzrt_api.h