ColorHSLtoRGB Method

See Also     Examples     Applies To

Converts HSL color from a set of hue, saturation and lightness components to RGB color into a set of red, green, and blue color components.

Syntax

object.ColorHSLtoRGB (nHueValue, nSaturationValue, nLightnessValue, *nRedReturn, *nGreenReturn, *nBlueReturn)

The ColorHSLtoRGB syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nHueValue Required. Single. Input hue component value [0 - 5].
nSaturationValue Required. Single. Input saturation component value [0 - 1].
nLightnessValue Required. Single. Input lightness component value [0 - 1].
*nRedReturn Required. Output Byte. Red component value [0 - 255].
*nGreenReturn Required. Output Byte. Green component value [0 - 255].
*nBlueReturn Required. Output Byte. Blue component value [0 - 255].

Category

Color management & Color space conversion





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.