Provides helper methods for the Color class.
| C# | Visual Basic |
public static class ColorHelper
Public NotInheritable Class ColorHelper
| All Members | Methods | ||||
| Icon | Member | Description |
|---|---|---|
| FromHSB(Single, Single, Single) | ||
| GetBrightness(Color) |
Gets the hue-saturation-brightness (HSB) brightness value for this Color structure.
| |
| GetHue(Color) |
Gets the hue-saturation-brightness (HSB) hue value, in degrees, for this Color structure.
| |
| GetSaturation(Color) |
Gets the hue-saturation-brightness (HSB) saturation value for this Color structure.
| |
| ToHtml(Color) |
Translates the specified Color structure to an HTML string color representation.
|
| Object | |
| ColorHelper | |