Share

acdbConvertHslToRgb

C++

ACDBCORE2D_PORT void acdbConvertHslToRgb(
    const AcGeVector3d& hsl, 
    AcGeVector3d& rgb
);

File

dbunderlayhost.h

Description

Converts a color from HSL(also known as HLS) to RGB color space.

Parameters

Parameters Description
hsl Input HSB color where x is the hue [0,1], y is the saturation [0,1], and z is brightness [0,360]
rgb Input RGB value where x is red [0,1], y is green [0,1] and z is blue [0,1]

Was this information helpful?