In The Hand LtdIn The Hand
GetBrightness Method (color)
NamespacesInTheHand.DrawingColorHelperGetBrightness(Color)
.NET Components for Mobility
Gets the hue-saturation-brightness (HSB) brightness value for this Color structure.
Declaration Syntax
C#Visual Basic
public static float GetBrightness(
	Color color
)
Public Shared Function GetBrightness ( _
	color As Color _
) As Single
Parameters
color (Color)

[Missing <param name="color"/> documentation for "M:InTheHand.Drawing.ColorHelper.GetBrightness(System.Drawing.Color)"]

Return Value
The brightness of this Color. The brightness ranges from 0.0 through 1.0, where 0.0 represents black and 1.0 represents white.

Assembly: InTheHand.Drawing (Module: InTheHand.Drawing) Version: 7.0.0.0