Android Guides | Samples

Android.Graphics.Color Structure

See Also: Color

Syntax

public struct Color

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Graphics.Color are listed below.

See Also: ValueType

Public Constructors

Initializes a new instance of the Color struct.
Initializes a new instance of the Color struct.
Initializes a new instance of the Color struct.
Initializes a new instance of the Color struct.
Initializes a new instance of the Color struct.

Public Properties

AByte. The alpha component of the color.
[read-only]
static
AliceBlueColor.
[read-only]
static
AntiqueWhiteColor.
[read-only]
static
AquaColor.
[read-only]
static
AquamarineColor.
[read-only]
static
AzureColor.
BByte. The blue component of the color.
[read-only]
static
BeigeColor.
[read-only]
static
BisqueColor.
[read-only]
static
BlackColor.
[read-only]
static
BlanchedAlmondColor.
[read-only]
static
BlueColor.
[read-only]
static
BlueVioletColor.
[read-only]
static
BrownColor.
[read-only]
static
BurlyWoodColor.
[read-only]
static
CadetBlueColor.
[read-only]
static
ChartreuseColor.
[read-only]
static
ChocolateColor.
[read-only]
static
CoralColor.
[read-only]
static
CornflowerBlueColor.
[read-only]
static
CornsilkColor.
[read-only]
static
CrimsonColor.
[read-only]
static
CyanColor.
[read-only]
static
DarkBlueColor.
[read-only]
static
DarkCyanColor.
[read-only]
static
DarkGoldenrodColor.
[read-only]
static
DarkGrayColor.
[read-only]
static
DarkGreenColor.
[read-only]
static
DarkKhakiColor.
[read-only]
static
DarkMagentaColor.
[read-only]
static
DarkOliveGreenColor.
[read-only]
static
DarkOrangeColor.
[read-only]
static
DarkOrchidColor.
[read-only]
static
DarkRedColor.
[read-only]
static
DarkSalmonColor.
[read-only]
static
DarkSeaGreenColor.
[read-only]
static
DarkSlateBlueColor.
[read-only]
static
DarkSlateGrayColor.
[read-only]
static
DarkTurquoiseColor.
[read-only]
static
DarkVioletColor.
[read-only]
static
DeepPinkColor.
[read-only]
static
DeepSkyBlueColor.
[read-only]
static
DimGrayColor.
[read-only]
static
DodgerBlueColor.
[read-only]
static
FirebrickColor.
[read-only]
static
FloralWhiteColor.
[read-only]
static
ForestGreenColor.
[read-only]
static
FuchsiaColor.
GByte. The green component of the color.
[read-only]
static
GainsboroColor.
[read-only]
static
GhostWhiteColor.
[read-only]
static
GoldColor.
[read-only]
static
GoldenrodColor.
[read-only]
static
GrayColor.
[read-only]
static
GreenColor.
[read-only]
static
GreenYellowColor.
[read-only]
static
HoneydewColor.
[read-only]
static
HotPinkColor.
[read-only]
static
IndianRedColor.
[read-only]
static
IndigoColor.
[read-only]
static
IvoryColor.
[read-only]
static
KhakiColor.
[read-only]
static
LavenderColor.
[read-only]
static
LavenderBlushColor.
[read-only]
static
LawnGreenColor.
[read-only]
static
LemonChiffonColor.
[read-only]
static
LightBlueColor.
[read-only]
static
LightCoralColor.
[read-only]
static
LightCyanColor.
[read-only]
static
LightGoldenrodYellowColor.
[read-only]
static
LightGrayColor.
[read-only]
static
LightGreenColor.
[read-only]
static
LightPinkColor.
[read-only]
static
LightSalmonColor.
[read-only]
static
LightSeaGreenColor.
[read-only]
static
LightSkyBlueColor.
[read-only]
static
LightSlateGrayColor.
[read-only]
static
LightSteelBlueColor.
[read-only]
static
LightYellowColor.
[read-only]
static
LimeColor.
[read-only]
static
LimeGreenColor.
[read-only]
static
LinenColor.
[read-only]
static
MagentaColor.
[read-only]
static
MaroonColor.
[read-only]
static
MediumAquamarineColor.
[read-only]
static
MediumBlueColor.
[read-only]
static
MediumOrchidColor.
[read-only]
static
MediumPurpleColor.
[read-only]
static
MediumSeaGreenColor.
[read-only]
static
MediumSlateBlueColor.
[read-only]
static
MediumSpringGreenColor.
[read-only]
static
MediumTurquoiseColor.
[read-only]
static
MediumVioletRedColor.
[read-only]
static
MidnightBlueColor.
[read-only]
static
MintCreamColor.
[read-only]
static
MistyRoseColor.
[read-only]
static
MoccasinColor.
[read-only]
static
NavajoWhiteColor.
[read-only]
static
NavyColor.
[read-only]
static
OldLaceColor.
[read-only]
static
OliveColor.
[read-only]
static
OliveDrabColor.
[read-only]
static
OrangeColor.
[read-only]
static
OrangeRedColor.
[read-only]
static
OrchidColor.
[read-only]
static
PaleGoldenrodColor.
[read-only]
static
PaleGreenColor.
[read-only]
static
PaleTurquoiseColor.
[read-only]
static
PaleVioletRedColor.
[read-only]
static
PapayaWhipColor.
[read-only]
static
PeachPuffColor.
[read-only]
static
PeruColor.
[read-only]
static
PinkColor.
[read-only]
static
PlumColor.
[read-only]
static
PowderBlueColor.
[read-only]
static
PurpleColor.
RByte. The red component of the color.
[read-only]
static
RedColor.
[read-only]
static
RosyBrownColor.
[read-only]
static
RoyalBlueColor.
[read-only]
static
SaddleBrownColor.
[read-only]
static
SalmonColor.
[read-only]
static
SandyBrownColor.
[read-only]
static
SeaGreenColor.
[read-only]
static
SeaShellColor.
[read-only]
static
SiennaColor.
[read-only]
static
SilverColor.
[read-only]
static
SkyBlueColor.
[read-only]
static
SlateBlueColor.
[read-only]
static
SlateGrayColor.
[read-only]
static
SnowColor.
[read-only]
static
SpringGreenColor.
[read-only]
static
SteelBlueColor.
[read-only]
static
TanColor.
[read-only]
static
TealColor.
[read-only]
static
ThistleColor.
[read-only]
static
TomatoColor.
[read-only]
static
TransparentColor.
[read-only]
static
TurquoiseColor.
[read-only]
static
VioletColor.
[read-only]
static
WheatColor.
[read-only]
static
WhiteColor.
[read-only]
static
WhiteSmokeColor.
[read-only]
static
YellowColor.
[read-only]
static
YellowGreenColor.

Public Methods

static
Argb(Int32, Int32, Int32, Int32) : Color
static
ColorToHSV(Color, Single[])
override
Equals(Object) : Boolean
Determines if this instance of a Color struct and another are the same.
static
GetAlphaComponent(Int32) : Int32
Gets the Alpha component from an integer color.
static
GetBlueComponent(Int32) : Int32
Gets the Blue component from an integer color.
GetBrightness() : Single
static
GetGreenComponent(Int32) : Int32
Gets the Green component from an integer color.
override
GetHashCode() : Int32
GetHue() : Single
static
GetRedComponent(Int32) : Int32
Gets the Red component from an integer color.
GetSaturation() : Single
static
HSVToColor(Single[]) : Color
static
HSVToColor(Int32, Single[]) : Color
static
ParseColor(String) : Color
static
Rgb(Int32, Int32, Int32) : Color
static
RGBToHSV(Int32, Int32, Int32, Single[])
ToArgb() : Int32
Return an integer representation of the Color.
override
ToString() : String
Creates a string representation of the Color.

Public Operators

static
Equality(Color, Color)Determine if two Color structs have the same value.
static
Inequality(Color, Color)Determine if two Color structs do not have the same value.
static
Conversion to System.Int32(Implicit)Implicitly casts a Color to an integer.