Name | Description | |
---|---|---|
NColor Constructor | Overloaded. |
The following tables list the members exposed by NColor.
Name | Description | |
---|---|---|
NColor Constructor | Overloaded. |
Name | Description | |
---|---|---|
AliceBlue | Alice Blue | |
AntiqueWhite | Antique White | |
Aqua | Aqua | |
Aquamarine | Aquamarine | |
Azure | Azure | |
Beige | Beige | |
Bisque | Bisque | |
Black | Black | |
BlanchedAlmond | Blanched Almond | |
Blue | Blue | |
BlueViolet | Blue Violet | |
Brown | Brown | |
BurlyWood | Burly Wood | |
CadetBlue | Cadet Blue | |
Chartreuse | Chartreuse | |
Chocolate | Chocolate | |
Coral | Coral | |
CornflowerBlue | Cornflower Blue | |
Cornsilk | Cornsilk | |
Crimson | Crimson | |
Cyan | Cyan | |
DarkBlue | Dark Blue | |
DarkCyan | Dark Cyan | |
DarkGoldenrod | Dark Goldenrod | |
DarkGray | Dark Gray | |
DarkGreen | Dark Green | |
DarkKhaki | Dark Khaki | |
DarkMagenta | Dark Magenta | |
DarkOliveGreen | Dark Olive Green | |
DarkOrange | Dark Orange | |
DarkOrchid | Dark Orchid | |
DarkRed | Dark Red | |
DarkSalmon | Dark Salmon | |
DarkSeaGreen | Dark Sea Green | |
DarkSlateBlue | Dark Slate Blue | |
DarkSlateGray | Dark Slate Gray | |
DarkTurquoise | Dark Turquoise | |
DarkViolet | Dark Violet | |
DeepPink | Deep Pink | |
DeepSkyBlue | Deep Sky Blue | |
DimGray | Dim Gray | |
DodgerBlue | Dodger Blue | |
Empty | Empty color | |
Firebrick | Firebrick | |
FloralWhite | Floral White | |
ForestGreen | Forest Green | |
Fuchsia | Fuchsia | |
Gainsboro | Gainsboro | |
GhostWhite | Ghost White | |
Gold | Gold | |
Goldenrod | Goldenrod | |
Gray | Gray | |
Green | Green | |
GreenYellow | Green Yellow | |
Honeydew | Honeydew | |
HotPink | HotPink | |
IndianRed | Indian Red | |
Indigo | Indigo | |
Ivory | Ivory | |
Khaki | Khaki | |
Lavender | Lavender | |
LavenderBlush | Lavender Blush | |
LawnGreen | Lawn Green | |
LemonChiffon | Lemon Chiffon | |
LightBlue | Light Blue | |
LightCoral | Light Coral | |
LightCyan | Light Cyan | |
LightGoldenrodYellow | Light Goldenrod Yellow | |
LightGray | Light Gray | |
LightGreen | Light Green | |
LightPink | Light Pink | |
LightSalmon | Light Salmon | |
LightSeaGreen | Light Sea Green | |
LightSkyBlue | Light Sky Blue | |
LightSlateGray | Light Slate Gray | |
LightSteelBlue | Light Steel Blue | |
LightYellow | Light Yellow | |
Lime | Lime | |
LimeGreen | Lime Green | |
Linen | Linen | |
Magenta | Magenta | |
Maroon | Maroon | |
MediumAquamarine | Medium Aquamarine | |
MediumBlue | Medium Blue | |
MediumOrchid | Medium Orchid | |
MediumPurple | Medium Purple | |
MediumSeaGreen | Medium Sea Green | |
MediumSlateBlue | Medium Slate Blue | |
MediumSpringGreen | Medium Spring Green | |
MediumTurquoise | Medium Turquoise | |
MediumVioletRed | Medium Violet Red | |
MidnightBlue | Midnight Blue | |
MintCream | Mint Cream | |
MistyRose | Misty Rose | |
Moccasin | Moccasin | |
NavajoWhite | Navajo White | |
Navy | Navy | |
OldLace | Old Lace | |
Olive | Olive | |
OliveDrab | Olive Drab | |
Orange | Orange | |
OrangeRed | Orange Red | |
Orchid | Orchid | |
PaleGoldenrod | Pale Goldenrod | |
PaleGreen | Pale Green | |
PaleTurquoise | Pale Turquoise | |
PaleVioletRed | Pale Violet Red | |
PapayaWhip | Papaya Whip | |
PeachPuff | Peach Puff | |
Peru | Peru | |
Pink | Pink | |
Plum | Plum | |
PowderBlue | Powder Blue | |
Purple | Purple | |
Red | Red | |
RosyBrown | Rosy Brown | |
RoyalBlue | Royal Blue | |
SaddleBrown | Saddle Brown | |
Salmon | Salmon | |
SandyBrown | Sandy Brown | |
SeaGreen | Sea Green | |
SeaShell | Sea Shell | |
Sienna | Sienna | |
Silver | Silver | |
SkyBlue | Sky Blue | |
SlateBlue | Slate Blue | |
SlateGray | Slate Gray | |
Snow | Snow | |
SpringGreen | Spring Green | |
SteelBlue | Steel Blue | |
Tan | Tan | |
Teal | Teal | |
Thistle | Thistle | |
Tomato | Tomato | |
Transparent | Transparent | |
Turquoise | Turquoise | |
Violet | Violet | |
Wheat | Wheat | |
White | White | |
WhiteSmoke | White Smoke | |
Yellow | Yellow | |
YellowGreen | Yellow Green |
Name | Description | |
---|---|---|
A | Returns the alpha component in the range 0-255. | |
Alpha | Returns the alpha value of this color as a floating point variable in the range [0, 1]. | |
B | Returns the blue component in the range 0-255 in the default sRGB | |
G | Returns the green component in the range 0-255 in the default sRGB | |
IsEmpty | Returns true if this is the empty color. | |
IsOpaque | Gets whether the color is completely opaque. | |
IsTranslucent | Gets whether the color is semi-transparent. | |
IsTransparent | Gets whether the color is fully transparent. | |
PackedARGB | Gets a packed ARGB value. | |
PackedBGRA | Gets a packed BGRA value. | |
PackedRGB | Gets a packed RGB value. | |
R | Returns the red component in the range 0-255 in the default sRGB space. | |
Space | Gets the color space of this color. | |
Tag | Gets or sets the color tag | |
Value | Gets the color value in it's color space. |
Name | Description | |
---|---|---|
Darken | Overloaded. Gets a 40% darker version of this color. | |
Deserialize | Deserializes the object state from the specified property bag. | |
Equals | Overloaded. | |
Format | Formats this color value. | |
FromARGB | Overloaded. Creates a new RGB color with the specified alpha. | |
FromBGRA | Creates a color from a packed BGRA value. | |
FromCMYK | Overloaded. Creates a new CMYK color. Alpha is set to 1.0. | |
FromColor | Overloaded. Creates a new color that has the color components of another color and has the specified alpha. | |
FromHSB | Creates a new HSB color. Alpha is set to 1.0. | |
FromHSBA | Creates a new HSB color. | |
FromHSL | Creates a new HSL color. Alpha is set to 1.0. | |
FromHSLA | Creates a new HSL color. | |
FromRGB | Overloaded. Creates a new RGB color. Alpha is set to 1.0. | |
FromRGBA | Overloaded. Creates a new RGB color with the specified alpha. | |
FromXYZ | Creates a new XYZ color. Alpha is set to 1.0. | |
FromXYZA | Creates a new XYZ color. | |
FromYCC | Creates a new YCC color. Alpha is set to 1.0. | |
FromYCCA | Creates a new YCC color. | |
GetCMYK | Gets the color value in CMYK space. | |
GetHashCode | ||
GetHEX | Gets the HEX (Web) representation of the RGB color (e.g. #ff00a8). | |
GetHSB | Gets the color value in HSB space. | |
GetHSL | Gets the color value in HSL space. | |
GetKnownColors | Gets a list that maps the known colors names to color values. | |
GetNameOrHex | Gets the name or the HEX equivalent of a given color. | |
GetRGB | Gets the color value in RGB space. | |
GetXYZ | Gets the color value in XYZ space. | |
GetYCC | Gets the color value in YCC space. | |
InterpolateColors | Overloaded. Creates a new color by interpolating between the specified colors. | |
Invert | Returns the inverse of this color. | |
Lighten | Overloaded. Gets a 40% ligher version of this color. | |
Parse | Creates a color from the given string. Throws an exception if the parsing fails. | |
ParseHex | Create a color from a string in HEX format (e.g. "RRGGBB" or "#RRGGBB"). Throws an exception if the parsing fails. | |
RGBEquals | Checks whether the packed RGB representation of the color is equal to the specified color. | |
Serialize | Serializes the object state into the specified property bag. | |
ToGrayscale | Returns a grayscale color in the same color space as this one. | |
ToHtmlColorString | Returns the HTML color string representation of this color, for example #FF00A8 or in case the color has transperancy - rgba(255, 0, 0, 0.5). | |
ToString | Returns a string formatted with the RGB color equivalent for display purposes (e.g. values in range 0:255). | |
TryParse | Tries to create a color from the given string. | |
TryParseHex | Tries to create a color from a string in HEX format (e.g. "RRGGBB" or "#RRGGBB"). where R, G and B are hex digits. | |
TryParseHtmlColor | Tries to parse the given string and create a color following the W3C specification. | |
TryParseHtmlHexColor | Creates an RGB color from a HEX color (Web color) string. |
Equality | Equality operator. |
Inequality | Inequality operator. |