function HSLtoRGB


function HSLtoRGB(H,S,L : integer): TColor32;

Declared in: svn\Common\Units\SharpGraphicsUtils\SharpGraphicsUtils.pas


Parameters

  • H: integer

Hue component of the HSL color

  • S: integer

Saturation component of the HSL color

  • L: integer

Lightness/Brightness component of the HSL color


Description

Use the HSLtoRGB function to convert a HSL color into a TColor32 (RGBA) value


Examples

  HSLtoRGB(64,196,128);