Version

FromAHSL Method

Gets a color from the specified ahsl components
Syntax
'Declaration
 
Public Shared Function FromAHSL( _
   ByVal alpha As Double, _
   ByVal hue As Double, _
   ByVal saturation As Double, _
   ByVal lightness As Double _
) As Color
public static Color FromAHSL( 
   double alpha,
   double hue,
   double saturation,
   double lightness
)

Parameters

alpha
The alpha (transparency), expressed as a value between 0 and 1, where 0 is transparent and 1 is opaque.
hue
The hue (color), expressed as a value between 0 and 1, where 0 is red, 1 is also red, and in between are orange, yellow, green, blue, indigo, and violet.
saturation
The saturation (colorfulness), expressed as a value between 0 and 1, where 0 is gray and 1 is fully saturated/colorful.
lightness
The lightness, expressed as a value between 0 and 1, where 0 is black and 1 is white.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also