This documentation is for the old version. Go to the latest Graphics Mill docs

RgbColor Members

The RgbColor type exposes the following members.

Constructors

Name Description
Public method RgbColor

Creates empty RgbColor instance. All channels are initialized with zeros, therefore this color will be represent absolutely black and transparent RGB value.

Methods

Name Description
Public method Clone

Creates a full copy of this RgbColor object.

Public method ConvertColorSpace

Converts color value to another color space.

(Inherited from Color.)
Public method Equals

Compares this RgbColor with specified object.

(Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetChannel Overloaded.

Gets value stored in specified channel of this color.

Public method GetChannel32 Overloaded.

Gets extended (16-bit) value stored in specified channel of this color.

Public method GetHashCode

Returns a hash code for this RgbColor class.

(Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToArray

Returns a byte array that contains all channels of the color (8 bits per channel).

(Inherited from Color.)
Public method ToArray32

Returns an integer numbers array that contains all channels of the color (16 bits per channel).

(Inherited from Color.)
Public method ToGdiplusColor

Returns System.Drawing.Color containing the same color value as this RgbColor does.

(Overrides Color.ToGdiplusColor().)
Public method ToInt32

Returns non-extended (8 bit per channel) numeric representation of this RgbColor.

(Overrides Color.ToInt32().)
Public method ToInt64

Returns extended (16 bit per channel) numeric representation of this RgbColor.

(Overrides Color.ToInt64().)
Public method ToString

Returns a string representation of this RgbColor.

(Overrides Object.ToString().)

Operators

Name Description
Public operator Static member Implicit Overloaded.

Casts RGB color data format.

Properties

Name Description
Public property A

Returns 8-bit alpha channel value (color opacity).

(Overrides Color.A.)
Public property A32

Returns 16-bit (extended) alpha channel value (color opacity).

(Overrides Color.A32.)
Public property Static member AliceBlue

Alice blue color.

Public property Static member AntiqueWhite

Antique white color.

Public property Static member Aqua

Aqua color.

Public property Static member Azure

Azure color.

Public property B

Returns 8-bit blue channel value.

Public property B32

Returns 16-bit blue channel value.

Public property Static member Beige

Beige color.

Public property Static member Bisque

Bisque color.

Public property Static member Black

Black color.

Public property Static member BlanchedAlmond

Blanched almond color.

Public property Static member Blue

Blue color.

Public property Static member BlueViolet

Blue violet color.

Public property Static member Brown

Brown color.

Public property Static member BurlyWood

Burly wood color.

Public property Static member CadetBlue

Cadet blue color.

Public property ChannelCount

Returns number of channels available in this color.

(Overrides Color.ChannelCount.)
Public property Static member Chartreuse

Chartreuse color.

Public property Static member Chocolate

Chocolate color.

Public property ColorSpace

Returns a color space of the color.

(Overrides Color.ColorSpace.)
Public property Static member Coral

Coral color.

Public property Static member CornflowerBlue

Cornflower blue color.

Public property Static member Cornsilk

Cornsilk color.

Public property Static member Crimson

Crimson color.

Public property Static member Cyan

Cyan color.

Public property Static member DarkBlue

Dark blue color.

Public property Static member DarkCyan

Dark cyan color.

Public property Static member DarkGoldenrod

Dark goldenrod color.

Public property Static member DarkGray

Dark gray color.

Public property Static member DarkGreen

Dark green color.

Public property Static member DarkKhaki

Dark khaki color.

Public property Static member DarkMagenta

Dark magenta color.

Public property Static member DarkOliveGreen

Dark olive green color.

Public property Static member DarkOrange

Dark orange color.

Public property Static member DarkOrchid

Dark orchid color.

Public property Static member DarkRed

Dark red color.

Public property Static member DarkSalmon

Dark salmon color.

Public property Static member DarkSeaGreen

Dark sea green color.

Public property Static member DarkSlateBlue

Dark slate blue color.

Public property Static member DarkSlateGray

Dark slate gray color.

Public property Static member DarkTurquoise

Dark turquoise color.

Public property Static member DarkViolet

Dark violet color.

Public property Static member DeepPink

Deep pink color.

Public property Static member DeepSkyBlue

Deep sky blue color.

Public property Static member DimGray

Dim gray color.

Public property Static member DodgerBlue

Dodger blue color.

Public property Static member Firebrick

Firebrick color.

Public property Static member FloralWhite

Floral white color.

Public property Static member ForestGreen

Forest green color.

Public property Static member Fuchsia

Fuchsia color.

Public property G

Returns 8-bit green channel value.

Public property G32

Returns 16-bit green channel value.

Public property Static member Gainsboro

Gainsboro color.

Public property Static member GhostWhite

Ghost white color.

Public property Static member Gold

Gold color.

Public property Static member Goldenrod

Goldenrod color.

Public property Static member Gray

Gray color.

Public property Static member Green

Green color.

Public property Static member GreenYellow

Green yellow color.

Public property Static member Honeydew

Honeydew color.

Public property Static member HotPink

Hot pink color.

Public property Static member IndianRed

Indian red color.

Public property Static member Indigo

Indigo color.

Public property Static member Khaki

Khaki color.

Public property Static member Lavender

Lavender color.

Public property Static member LavenderBlush

Lavender blush color.

Public property Static member LawnGreen

Lawn green color.

Public property Static member LemonChiffon

Lemon chiffon color.

Public property Static member LightBlue

Light blue color.

Public property Static member LightCoral

Light coral color.

Public property Static member LightCyan

Light cyan color.

Public property Static member LightGoldenrodYellow

Light goldenrod yellow color.

Public property Static member LightGray

Light gray color.

Public property Static member LightGreen

Light green color.

Public property Static member LightPink

Light pink color.

Public property Static member LightSalmon

Light salmon color.

Public property Static member LightSeaGreen

Light sea green color.

Public property Static member LightSkyBlue

Light sky blue color.

Public property Static member LightSlateGray

Light slate gray color.

Public property Static member LightSteelBlue

Light steel blue color.

Public property Static member LightYellow

Light yellow color.

Public property Static member Lime

Lime color.

Public property Static member LimeGreen

Lime green color.

Public property Static member Linen

Linen color.

Public property Static member Magenta

Magenta color.

Public property Static member Maroon

Maroon color.

Public property Static member MediumAquamarine

Medium aquamarine color.

Public property Static member MediumBlue

Medium blue color.

Public property Static member MediumOrchid

Medium orchid color.

Public property Static member MediumPurple

Medium purple color.

Public property Static member MediumSeaGreen

Medium sea green color.

Public property Static member MediumSlateBlue

Medium slate blue color.

Public property Static member MediumSpringGreen

Medium spring green color.

Public property Static member MediumTurquoise

Medium turquoise color.

Public property Static member MediumVioletRed

Medium violet red color.

Public property Static member MidnightBlue

Midnight blue color.

Public property Static member MintCream

Mint cream color.

Public property Static member MistyRose

Misty rose color.

Public property Static member Moccasin

Moccasin color.

Public property Static member NavajoWhite

Navajo white color.

Public property Static member Navy

Navy color.

Public property Static member OldLace

Old lace color.

Public property Static member Olive

Olive color.

Public property Static member OliveDrab

Olive drab color.

Public property Static member Orange

Orange color.

Public property Static member OrangeRed

Orange red color.

Public property Static member Orchid

Orchid color.

Public property Static member PaleGoldenrod

Pale goldenrod color.

Public property Static member PaleGreen

Pale green color.

Public property Static member PaleTurquoise

Pale turquoise color.

Public property Static member PaleVioletRed

Pale violet red color.

Public property Static member PapayaWhip

Papaya whip color.

Public property Static member PeachPuff

Peach puff color.

Public property Static member Peru

Peru color.

Public property Static member Pink

Pink color.

Public property Static member Plum

Plum color.

Public property Static member PowderBlue

Powder blue color.

Public property Static member Purple

Purple color.

Public property R

Returns 8-bit red channel value.

Public property R32

Returns 16-bit red channel value.

Public property Static member Red

Red color.

Public property Static member RosyBrown

Rosy brown color.

Public property Static member RoyalBlue

Royal blue color.

Public property Static member SaddleBrown

Saddle brown color.

Public property Static member Salmon

Salmon color.

Public property Static member SandyBrown

Sandy brown color.

Public property Static member SeaGreen

Sea green color.

Public property Static member SeaShell

Sea shell color.

Public property Static member Sienna

Sienna color.

Public property Static member Silver

Silver color.

Public property Static member SkyBlue

Sky blue color.

Public property Static member SlateBlue

Slate blue color.

Public property Static member SlateGray

Slate gray color.

Public property Static member Snow

Snow color.

Public property Static member SpringGreen

Spring green color.

Public property Static member SteelBlue

Steel blue color.

Public property Static member Tan

Tan color.

Public property Static member Teal

Teal color.

Public property Static member Thistle

Thistle color.

Public property Static member Tomato

Tomato color.

Public property Static member Transparent

Transparent color.

Public property Static member Turquoise

Turquoise color.

Public property Static member Violet

Violet color.

Public property Static member Wheat

Wheat color.

Public property Static member White

White color.

Public property Static member WhiteSmoke

White smoke color.

Public property Static member Yellow

Yellow color.

Public property Static member YellowGreen

Yellow green color.

See Also

Reference