Returns RgbColor class instance constructed from hue, saturation, and lightness parameters.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Shared Function FromHsl ( _ hue As Single, _ saturation As Single, _ lightness As Single _ ) As RgbColor
Type: System.Single
The hue parameter. Means the angle at the color wheel, so meaningful values are in range [-1.0, 1.0].Type: System.Single
The saturation parameter. It should be in range [-1.0, 1.0].Type: System.Single
The lightness parameter. It should be in range [-1.0, 1.0].Dim rgb As Aurigma.GraphicsMill.RgbColor = _ Aurigma.GraphicsMill.Color.FromHsl(0.8F, 0.7F, 0.4F)
Aurigma.GraphicsMill.RgbColor rgb = Aurigma.GraphicsMill.Color.FromHsl(0.8F, 0.7F, 0.4F);