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

    Parameters

    hue
    The "Hue" component of the color according to the HSB color model.
    saturation
    The "Saturation" component of the color according to the HSB color model.
    brightness
    The "Brightness" component of the color according to the HSB color model.

    Return Value

    Returns a System.Drawing.Color 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). This is more efficient than GoColor.FromHsb(hue, saturation, brightness).Color
    See Also