C++
ACDBCORE2D_PORT void acdbConvertRgbToHsl( const AcGeVector3d& rgb, AcGeVector3d& hsl );
File
dbunderlayhost.h
Description
Converts a color from RGB to HSL (also known as HLS) color space.
Parameters
Parameters | Description |
---|---|
rgb | Output RGB value where x is red [0,1], y is green[0,1], and z is blue [0,1] |
hsl | Input HSL value where x is the hue[0,1], y is the saturation[0,1], and z is lightness[0,360] |