NevronOpenVision
Nevron.Nov.Graphics Namespace / NColor Structure
Fields Properties Methods


In This Topic
    NColor Structure Members
    In This Topic

    The following tables list the members exposed by NColor.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Alice Blue  
    Public Fieldstatic (Shared in Visual Basic)Antique White  
    Public Fieldstatic (Shared in Visual Basic)Aqua  
    Public Fieldstatic (Shared in Visual Basic)Aquamarine  
    Public Fieldstatic (Shared in Visual Basic)Azure  
    Public Fieldstatic (Shared in Visual Basic)Beige  
    Public Fieldstatic (Shared in Visual Basic)Bisque  
    Public Fieldstatic (Shared in Visual Basic)Black  
    Public Fieldstatic (Shared in Visual Basic)Blanched Almond  
    Public Fieldstatic (Shared in Visual Basic)Blue  
    Public Fieldstatic (Shared in Visual Basic)Blue Violet  
    Public Fieldstatic (Shared in Visual Basic)Brown  
    Public Fieldstatic (Shared in Visual Basic)Burly Wood  
    Public Fieldstatic (Shared in Visual Basic)Cadet Blue  
    Public Fieldstatic (Shared in Visual Basic)Chartreuse  
    Public Fieldstatic (Shared in Visual Basic)Chocolate  
    Public Fieldstatic (Shared in Visual Basic)Coral  
    Public Fieldstatic (Shared in Visual Basic)Cornflower Blue  
    Public Fieldstatic (Shared in Visual Basic)Cornsilk  
    Public Fieldstatic (Shared in Visual Basic)Crimson  
    Public Fieldstatic (Shared in Visual Basic)Cyan  
    Public Fieldstatic (Shared in Visual Basic)Dark Blue  
    Public Fieldstatic (Shared in Visual Basic)Dark Cyan  
    Public Fieldstatic (Shared in Visual Basic)Dark Goldenrod  
    Public Fieldstatic (Shared in Visual Basic)Dark Gray  
    Public Fieldstatic (Shared in Visual Basic)Dark Green  
    Public Fieldstatic (Shared in Visual Basic)Dark Khaki  
    Public Fieldstatic (Shared in Visual Basic)Dark Magenta  
    Public Fieldstatic (Shared in Visual Basic)Dark Olive Green  
    Public Fieldstatic (Shared in Visual Basic)Dark Orange  
    Public Fieldstatic (Shared in Visual Basic)Dark Orchid  
    Public Fieldstatic (Shared in Visual Basic)Dark Red  
    Public Fieldstatic (Shared in Visual Basic)Dark Salmon  
    Public Fieldstatic (Shared in Visual Basic)Dark Sea Green  
    Public Fieldstatic (Shared in Visual Basic)Dark Slate Blue  
    Public Fieldstatic (Shared in Visual Basic)Dark Slate Gray  
    Public Fieldstatic (Shared in Visual Basic)Dark Turquoise  
    Public Fieldstatic (Shared in Visual Basic)Dark Violet  
    Public Fieldstatic (Shared in Visual Basic)Deep Pink  
    Public Fieldstatic (Shared in Visual Basic)Deep Sky Blue  
    Public Fieldstatic (Shared in Visual Basic)Dim Gray  
    Public Fieldstatic (Shared in Visual Basic)Dodger Blue  
    Public Fieldstatic (Shared in Visual Basic)Empty color  
    Public Fieldstatic (Shared in Visual Basic)Firebrick  
    Public Fieldstatic (Shared in Visual Basic)Floral White  
    Public Fieldstatic (Shared in Visual Basic)Forest Green  
    Public Fieldstatic (Shared in Visual Basic)Fuchsia  
    Public Fieldstatic (Shared in Visual Basic)Gainsboro  
    Public Fieldstatic (Shared in Visual Basic)Ghost White  
    Public Fieldstatic (Shared in Visual Basic)Gold  
    Public Fieldstatic (Shared in Visual Basic)Goldenrod  
    Public Fieldstatic (Shared in Visual Basic)Gray  
    Public Fieldstatic (Shared in Visual Basic)Green  
    Public Fieldstatic (Shared in Visual Basic)Green Yellow  
    Public Fieldstatic (Shared in Visual Basic)Honeydew  
    Public Fieldstatic (Shared in Visual Basic)HotPink  
    Public Fieldstatic (Shared in Visual Basic)Indian Red  
    Public Fieldstatic (Shared in Visual Basic)Indigo  
    Public Fieldstatic (Shared in Visual Basic)Ivory  
    Public Fieldstatic (Shared in Visual Basic)Khaki  
    Public Fieldstatic (Shared in Visual Basic)Lavender  
    Public Fieldstatic (Shared in Visual Basic)Lavender Blush  
    Public Fieldstatic (Shared in Visual Basic)Lawn Green  
    Public Fieldstatic (Shared in Visual Basic)Lemon Chiffon  
    Public Fieldstatic (Shared in Visual Basic)Light Blue  
    Public Fieldstatic (Shared in Visual Basic)Light Coral  
    Public Fieldstatic (Shared in Visual Basic)Light Cyan  
    Public Fieldstatic (Shared in Visual Basic)Light Goldenrod Yellow  
    Public Fieldstatic (Shared in Visual Basic)Light Gray  
    Public Fieldstatic (Shared in Visual Basic)Light Green  
    Public Fieldstatic (Shared in Visual Basic)Light Pink  
    Public Fieldstatic (Shared in Visual Basic)Light Salmon  
    Public Fieldstatic (Shared in Visual Basic)Light Sea Green  
    Public Fieldstatic (Shared in Visual Basic)Light Sky Blue  
    Public Fieldstatic (Shared in Visual Basic)Light Slate Gray  
    Public Fieldstatic (Shared in Visual Basic)Light Steel Blue  
    Public Fieldstatic (Shared in Visual Basic)Light Yellow  
    Public Fieldstatic (Shared in Visual Basic)Lime  
    Public Fieldstatic (Shared in Visual Basic)Lime Green  
    Public Fieldstatic (Shared in Visual Basic)Linen  
    Public Fieldstatic (Shared in Visual Basic)Magenta  
    Public Fieldstatic (Shared in Visual Basic)Maroon  
    Public Fieldstatic (Shared in Visual Basic)Medium Aquamarine  
    Public Fieldstatic (Shared in Visual Basic)Medium Blue  
    Public Fieldstatic (Shared in Visual Basic)Medium Orchid  
    Public Fieldstatic (Shared in Visual Basic)Medium Purple  
    Public Fieldstatic (Shared in Visual Basic)Medium Sea Green  
    Public Fieldstatic (Shared in Visual Basic)Medium Slate Blue  
    Public Fieldstatic (Shared in Visual Basic)Medium Spring Green  
    Public Fieldstatic (Shared in Visual Basic)Medium Turquoise  
    Public Fieldstatic (Shared in Visual Basic)Medium Violet Red  
    Public Fieldstatic (Shared in Visual Basic)Midnight Blue  
    Public Fieldstatic (Shared in Visual Basic)Mint Cream  
    Public Fieldstatic (Shared in Visual Basic)Misty Rose  
    Public Fieldstatic (Shared in Visual Basic)Moccasin  
    Public Fieldstatic (Shared in Visual Basic)Navajo White  
    Public Fieldstatic (Shared in Visual Basic)Navy  
    Public Fieldstatic (Shared in Visual Basic)Old Lace  
    Public Fieldstatic (Shared in Visual Basic)Olive  
    Public Fieldstatic (Shared in Visual Basic)Olive Drab  
    Public Fieldstatic (Shared in Visual Basic)Orange  
    Public Fieldstatic (Shared in Visual Basic)Orange Red  
    Public Fieldstatic (Shared in Visual Basic)Orchid  
    Public Fieldstatic (Shared in Visual Basic)Pale Goldenrod  
    Public Fieldstatic (Shared in Visual Basic)Pale Green  
    Public Fieldstatic (Shared in Visual Basic)Pale Turquoise  
    Public Fieldstatic (Shared in Visual Basic)Pale Violet Red  
    Public Fieldstatic (Shared in Visual Basic)Papaya Whip  
    Public Fieldstatic (Shared in Visual Basic)Peach Puff  
    Public Fieldstatic (Shared in Visual Basic)Peru  
    Public Fieldstatic (Shared in Visual Basic)Pink  
    Public Fieldstatic (Shared in Visual Basic)Plum  
    Public Fieldstatic (Shared in Visual Basic)Powder Blue  
    Public Fieldstatic (Shared in Visual Basic)Purple  
    Public Fieldstatic (Shared in Visual Basic)Red  
    Public Fieldstatic (Shared in Visual Basic)Rosy Brown  
    Public Fieldstatic (Shared in Visual Basic)Royal Blue  
    Public Fieldstatic (Shared in Visual Basic)Saddle Brown  
    Public Fieldstatic (Shared in Visual Basic)Salmon  
    Public Fieldstatic (Shared in Visual Basic)Sandy Brown  
    Public Fieldstatic (Shared in Visual Basic)Sea Green  
    Public Fieldstatic (Shared in Visual Basic)Sea Shell  
    Public Fieldstatic (Shared in Visual Basic)Sienna  
    Public Fieldstatic (Shared in Visual Basic)Silver  
    Public Fieldstatic (Shared in Visual Basic)Sky Blue  
    Public Fieldstatic (Shared in Visual Basic)Slate Blue  
    Public Fieldstatic (Shared in Visual Basic)Slate Gray  
    Public Fieldstatic (Shared in Visual Basic)Snow  
    Public Fieldstatic (Shared in Visual Basic)Spring Green  
    Public Fieldstatic (Shared in Visual Basic)Steel Blue  
    Public Fieldstatic (Shared in Visual Basic)Tan  
    Public Fieldstatic (Shared in Visual Basic)Teal  
    Public Fieldstatic (Shared in Visual Basic)Thistle  
    Public Fieldstatic (Shared in Visual Basic)Tomato  
    Public Fieldstatic (Shared in Visual Basic)Transparent  
    Public Fieldstatic (Shared in Visual Basic)Turquoise  
    Public Fieldstatic (Shared in Visual Basic)Violet  
    Public Fieldstatic (Shared in Visual Basic)Wheat  
    Public Fieldstatic (Shared in Visual Basic)White  
    Public Fieldstatic (Shared in Visual Basic)White Smoke  
    Public Fieldstatic (Shared in Visual Basic)Yellow  
    Public Fieldstatic (Shared in Visual Basic)Yellow Green  
    Top
    Protected Fields
     NameDescription
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Top
    Public Properties
     NameDescription
    Public PropertyReturns the alpha component in the range 0-255.  
    Public PropertyReturns the alpha value of this color as a floating point variable in the range [0, 1].  
    Public PropertyReturns the blue component in the range 0-255 in the default sRGB  
    Public PropertyReturns the green component in the range 0-255 in the default sRGB  
    Public PropertyReturns true if this is the empty color.  
    Public PropertyGets whether the color is completely opaque.  
    Public PropertyGets whether the color is semi-transparent.  
    Public PropertyGets whether the color is fully transparent.  
    Public PropertyGets a packed ARGB value.  
    Public PropertyGets a packed BGRA value.  
    Public PropertyGets a packed RGB value.  
    Public PropertyReturns the red component in the range 0-255 in the default sRGB space.  
    Public PropertyGets the color space of this color.  
    Public PropertyGets or sets the color tag  
    Public PropertyGets the color value in it's color space.  
    Top
    Protected Properties
     NameDescription
    Internal Property  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Gets a 40% darker version of this color.  
    Public MethodDeserializes the object state from the specified property bag.  
    Public MethodOverloaded.   
    Public MethodFormats this color value.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new RGB color with the specified alpha.  
    Public Methodstatic (Shared in Visual Basic)Creates a color from a packed BGRA value.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new CMYK color. Alpha is set to 1.0.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new color that has the color components of another color and has the specified alpha.  
    Public Methodstatic (Shared in Visual Basic)Creates a new HSB color. Alpha is set to 1.0.  
    Public Methodstatic (Shared in Visual Basic)Creates a new HSB color.  
    Public Methodstatic (Shared in Visual Basic)Creates a new HSL color. Alpha is set to 1.0.  
    Public Methodstatic (Shared in Visual Basic)Creates a new HSL color.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new RGB color. Alpha is set to 1.0.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new RGB color with the specified alpha.  
    Public Methodstatic (Shared in Visual Basic)Creates a new XYZ color. Alpha is set to 1.0.  
    Public Methodstatic (Shared in Visual Basic)Creates a new XYZ color.  
    Public Methodstatic (Shared in Visual Basic)Creates a new YCC color. Alpha is set to 1.0.  
    Public Methodstatic (Shared in Visual Basic)Creates a new YCC color.  
    Public MethodGets the color value in CMYK space.  
    Public Method  
    Public MethodGets the HEX (Web) representation of the RGB color (e.g. #ff00a8).  
    Public MethodGets the color value in HSB space.  
    Public MethodGets the color value in HSL space.  
    Public Methodstatic (Shared in Visual Basic)Gets a list that maps the known colors names to color values.  
    Public Methodstatic (Shared in Visual Basic)Gets the name or the HEX equivalent of a given color.  
    Public MethodGets the color value in RGB space.  
    Public MethodGets the color value in XYZ space.  
    Public MethodGets the color value in YCC space.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new color by interpolating between the specified colors.  
    Public MethodReturns the inverse of this color.  
    Public MethodOverloaded. Gets a 40% ligher version of this color.  
    Public Methodstatic (Shared in Visual Basic)Creates a color from the given string. Throws an exception if the parsing fails.  
    Public Methodstatic (Shared in Visual Basic)Create a color from a string in HEX format (e.g. "RRGGBB" or "#RRGGBB"). Throws an exception if the parsing fails.  
    Public MethodChecks whether the packed RGB representation of the color is equal to the specified color.  
    Public MethodSerializes the object state into the specified property bag.  
    Public MethodReturns a grayscale color in the same color space as this one.  
    Public MethodReturns the HTML color string representation of this color, for example #FF00A8 or in case the color has transperancy - rgba(255, 0, 0, 0.5).  
    Public MethodReturns a string formatted with the RGB color equivalent for display purposes (e.g. values in range 0:255).  
    Public Methodstatic (Shared in Visual Basic)Tries to create a color from the given string.  
    Public Methodstatic (Shared in Visual Basic)Tries to create a color from a string in HEX format (e.g. "RRGGBB" or "#RRGGBB"). where R, G and B are hex digits.  
    Public Methodstatic (Shared in Visual Basic)Tries to parse the given string and create a color following the W3C specification.  
    Public Methodstatic (Shared in Visual Basic)Creates an RGB color from a HEX color (Web color) string.  
    Top
    Protected Methods
     NameDescription
    Internal Method  
    Internal Method  
    Internal MethodOverloaded.   
    Top
    Public Operators
    Equality operator.
    Inequality operator.
    Top
    See Also