GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoColor Structure / FromHsl Method
The "Hue" component of the color according to the HSL color model.
The "Saturation" component of the color according to the HSL color model.
The "Luminance" component of the color according to the HSL color model.
In This Topic
    FromHsl Method
    In This Topic
    Creates a Northwoods.Go.Draw.GoColor structure from the three HSL component values.
    Syntax
    public static GoColor FromHsl( 
       float hue,
       float saturation,
       float luminance
    )

    Parameters

    hue
    The "Hue" component of the color according to the HSL color model.
    saturation
    The "Saturation" component of the color according to the HSL color model.
    luminance
    The "Luminance" component of the color according to the HSL color model.

    Return Value

    Returns a Northwoods.Go.Draw.GoColor structure.
    Remarks
    The hue parameter value ranges from 0.0f to 360.0f, inclusive. Each of the other parameter values range from 0.0f to 1.0f, inclusive. Alpha is set to 1.0f (fully opaque).
    See Also