Xamarin.Forms.Core
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
System.ValueType
System.Diagnostics.DebuggerDisplay("R={R}, G={G}, B={B}, A={A}, Hue={Hue}, Saturation={Saturation}, Luminosity={Luminosity}")
Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.ColorTypeConverter))
Class that represents a color and exposes it as RGBA and HSL values.
This type is immutable. Colors can be expressed in the RGB or HSL modes. While the constructor takes R, G, B, and A values, the class also calculates and makes available HSL data for the color.
In XAML, application developers can specify any property that is of type , for example, either as a XAML attribute or as a nested tag. The following code example shows how to specify the text color for a label by using an attribute:
Hello, World!
]]>
The example below shows how to specify the text color for a label by using a nested tag:
Hello, World!
Color.Blue
]]>
Application developers can specify colors in XAML either as a hexadecimal number or as a valid color name.
When specifying a color with a hexadecimal number, app developers can use 3, 4, or 6 digits. If the developer specifies 3 digits, they are interpreted as RGB doublet data for a fully opaque color. For example, "#123" specifies the color that is represented by "#FF112233". If the developer provides a 4-digit hexadecimal number, then the data are interpreted as above, except that the first digit specifies the alpha channel. For example, "#1234" specifies the color that is represented by "#11223344". Finally, if the developer provides a 6 digit hexadecimal number, the data are interpreted as a fully opaque color with those RGB values. For example, "#112233" specifies the color that is represented by "#FF112233".
When specifying a color with a string, app developers can use color name in isolation, or prefix it with "Color.". For example, both Purple and Color.Purple are valid ways to specify the color purple. The following table describes the valid color names that can be used to specify colors in XAML.
ColorShort NameRGB Value- Color.TransparentTransparent255, 255, 255 (With the alpha channel set to 0.)
- Color.AquaAqua0, 255, 255
- Color.BlackBlack0, 0, 0
- Color.BlueBlue0, 0, 255
- Color.FuchsiaFuchsia255, 0, 255
- Color.GrayGray128, 128, 128
- Color.GreenGreen0, 128, 0
- Color.LimeLime0, 255, 0
- Color.MaroonMaroon128, 0, 0
- Color.NavyNavy0, 0, 128
- Color.OliveOlive128, 128, 0
- Color.OrangeOrange255, 165, 0
- Color.PurplePurple128, 0, 128
- Color.PinkPink255, 102, 255
- Color.RedRed255, 0, 0
- Color.SilverSilver192, 192, 192
- Color.TealTeal0, 128, 128
- Color.WhiteWhite255, 255, 255
- Color.YellowYellow255, 255, 0
- Color.AliceBlueAliceBlue240, 248, 255
- Color.AntiqueWhiteAntiqueWhite250, 235, 215
- Color.AquamarineAquamarine127, 255, 212
- Color.AzureAzure240, 255, 255
- Color.BeigeBeige245, 245, 220
- Color.BisqueBisque255, 228, 196
- Color.BlanchedAlmondBlanchedAlmond255, 235, 205
- Color.BlueVioletBlueViolet138, 43, 226
- Color.BrownBrown165, 42, 42
- Color.BurlyWoodBurlyWood222, 184, 135
- Color.CadetBlueCadetBlue95, 158, 160
- Color.ChartreuseChartreuse127, 255, 0
- Color.ChocolateChocolate210, 105, 30
- Color.CoralCoral255, 127, 80
- Color.CornflowerBlueCornflowerBlue100, 149, 237
- Color.CornsilkCornsilk255, 248, 220
- Color.CrimsonCrimson220, 20, 60
- Color.CyanCyan0, 255, 255
- Color.DarkBlueDarkBlue0, 0, 139
- Color.DarkCyanDarkCyan0, 139, 139
- Color.DarkGoldenrodDarkGoldenrod184, 134, 11
- Color.DarkGrayDarkGray169, 169, 169
- Color.DarkGreenDarkGreen0, 100, 0
- Color.DarkKhakiDarkKhaki189, 183, 107
- Color.DarkMagentaDarkMagenta139, 0, 139
- Color.DarkOliveGreenDarkOliveGreen85, 107, 47
- Color.DarkOrangeDarkOrange255, 140, 0
- Color.DarkOrchidDarkOrchid153, 50, 204
- Color.DarkRedDarkRed139, 0, 0
- Color.DarkSalmonDarkSalmon233, 150, 122
- Color.DarkSeaGreenDarkSeaGreen143, 188, 143
- Color.DarkSlateBlueDarkSlateBlue72, 61, 139
- Color.DarkSlateGrayDarkSlateGray47, 79, 79
- Color.DarkTurquoiseDarkTurquoise0, 206, 209
- Color.DarkVioletDarkViolet148, 0, 211
- Color.DeepPinkDeepPink255, 20, 147
- Color.DeepSkyBlueDeepSkyBlue0, 191, 255
- Color.DimGrayDimGray105, 105, 105
- Color.DodgerBlueDodgerBlue30, 144, 255
- Color.FirebrickFirebrick178, 34, 34
- Color.FloralWhiteFloralWhite255, 250, 240
- Color.ForestGreenForestGreen34, 139, 34
- Color.GainsboroGainsboro220, 220, 220
- Color.GhostWhiteGhostWhite248, 248, 255
- Color.GoldGold255, 215, 0
- Color.GoldenrodGoldenrod218, 165, 32
- Color.GreenYellowGreenYellow173, 255, 47
- Color.HoneydewHoneydew240, 255, 240
- Color.HotPinkHotPink255, 105, 180
- Color.IndianRedIndianRed205, 92, 92
- Color.IndigoIndigo75, 0, 130
- Color.IvoryIvory255, 255, 240
- Color.KhakiKhaki240, 230, 140
- Color.LavenderLavender230, 230, 250
- Color.LavenderBlushLavenderBlush255, 240, 245
- Color.LawnGreenLawnGreen124, 252, 0
- Color.LemonChiffonLemonChiffon255, 250, 205
- Color.LightBlueLightBlue173, 216, 230
- Color.LightCoralLightCoral240, 128, 128
- Color.LightCyanLightCyan224, 255, 255
- Color.LightGoldenrodYellowLightGoldenrodYellow250, 250, 210
- Color.LightGrayLightGray211, 211, 211
- Color.LightGreenLightGreen144, 238, 144
- Color.LightPinkLightPink255, 182, 193
- Color.LightSalmonLightSalmon255, 160, 122
- Color.LightSeaGreenLightSeaGreen32, 178, 170
- Color.LightSkyBlueLightSkyBlue135, 206, 250
- Color.LightSlateGrayLightSlateGray119, 136, 153
- Color.LightSteelBlueLightSteelBlue176, 196, 222
- Color.LightYellowLightYellow255, 255, 224
- Color.LimeGreenLimeGreen50, 205, 50
- Color.LinenLinen250, 240, 230
- Color.MagentaMagenta255, 0, 255
- Color.MediumAquamarineMediumAquamarine102, 205, 170
- Color.MediumBlueMediumBlue0, 0, 205
- Color.MediumOrchidMediumOrchid186, 85, 211
- Color.MediumPurpleMediumPurple147, 112, 219
- Color.MediumSeaGreenMediumSeaGreen60, 179, 113
- Color.MediumSlateBlueMediumSlateBlue123, 104, 238
- Color.MediumSpringGreenMediumSpringGreen0, 250, 154
- Color.MediumTurquoiseMediumTurquoise72, 209, 204
- Color.MediumVioletRedMediumVioletRed199, 21, 133
- Color.MidnightBlueMidnightBlue25, 25, 112
- Color.MintCreamMintCream245, 255, 250
- Color.MistyRoseMistyRose255, 228, 225
- Color.MoccasinMoccasin255, 228, 181
- Color.NavajoWhiteNavajoWhite255, 222, 173
- Color.OldLaceOldLace253, 245, 230
- Color.OliveDrabOliveDrab107, 142, 35
- Color.OrangeRedOrangeRed255, 69, 0
- Color.OrchidOrchid218, 112, 214
- Color.PaleGoldenrodPaleGoldenrod238, 232, 170
- Color.PaleGreenPaleGreen152, 251, 152
- Color.PaleTurquoisePaleTurquoise175, 238, 238
- Color.PaleVioletRedPaleVioletRed219, 112, 147
- Color.PapayaWhipPapayaWhip255, 239, 213
- Color.PeachPuffPeachPuff255, 218, 185
- Color.PeruPeru205, 133, 63
- Color.PlumPlum221, 160, 221
- Color.PowderBluePowderBlue176, 224, 230
- Color.RosyBrownRosyBrown188, 143, 143
- Color.RoyalBlueRoyalBlue65, 105, 225
- Color.SaddleBrownSaddleBrown139, 69, 19
- Color.SalmonSalmon250, 128, 114
- Color.SandyBrownSandyBrown244, 164, 96
- Color.SeaGreenSeaGreen46, 139, 87
- Color.SeaShellSeaShell255, 245, 238
- Color.SiennaSienna160, 82, 45
- Color.SkyBlueSkyBlue135, 206, 235
- Color.SlateBlueSlateBlue106, 90, 205
- Color.SlateGraySlateGray112, 128, 144
- Color.SnowSnow255, 250, 250
- Color.SpringGreenSpringGreen0, 255, 127
- Color.SteelBlueSteelBlue70, 130, 180
- Color.TanTan210, 180, 140
- Color.ThistleThistle216, 191, 216
- Color.TomatoTomato255, 99, 71
- Color.TurquoiseTurquoise64, 224, 208
- Color.VioletViolet238, 130, 238
- Color.WheatWheat245, 222, 179
- Color.WhiteSmokeWhiteSmoke245, 245, 245
- Color.YellowGreenYellowGreen154, 205, 50
Constructor
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
The luminosity of the gray-scale color.
Initialize a new gray color.
This is equivalent to new Color (value, value, value). The value is clamped to [0-1]. App developers should use the equivalent methods, instead.
Constructor
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
The red component of the color.
The green component of the color.
The blue component of the color.
Initializes a new RGB color.
This is equivalent to new Color (r, g, b, 1). Values are clamped to [0-1]. Prefer the equivalent methods.
Constructor
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
The red component of the color.
The green component of the color.
The blue component of the color.
The alpha component of the color.
Initializes a new RGB color with an alpha channel.
Values are clamped to [0-1].
Property
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
System.Double
Gets the alpha component of the color.
The Alpha component of the color as a double that is in the inclusive range [0-1].
Property
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Gets the accent or tint color from the application.
A Color.
The accent color is platform and device dependent.
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
The delta (positive or negative) to add to the luminosity channel.
Returns a new Color with a modified luminosity channel.
A new color with a possibly modified luminosity channel.
The parameter is added to the current luminosity, and the resulting luminosity is then clamped to the inclusive range [0,1].
Field
2.0.0.0
Xamarin.Forms.Color
AliceBlue, the color that is represented by the RGB value #FFF0F8FF.
Field
2.0.0.0
Xamarin.Forms.Color
AntiqueWhite, the color that is represented by the RGB value #FFFAEBD7.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Aqua, the color that is represented by the RGB value #00ffff.
Field
2.0.0.0
Xamarin.Forms.Color
Aquamarine, the color that is represented by the RGB value #FF7FFFD4.
Field
2.0.0.0
Xamarin.Forms.Color
Azure, the color that is represented by the RGB value #FFF0FFFF.
Property
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
System.Double
Gets the blue component of the color.
The Blue component of the color as a double that is in the inclusive range [0-1].
Field
2.0.0.0
Xamarin.Forms.Color
Beige, the color that is represented by the RGB value #FFF5F5DC.
Field
2.0.0.0
Xamarin.Forms.Color
Bisque, the color that is represented by the RGB value #FFFFE4C4.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Black, the color that is represented by the RGB value #000000.
Field
2.0.0.0
Xamarin.Forms.Color
BlanchedAlmond, the color that is represented by the RGB value #FFFFEBCD.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Blue, the color that is represented by the RGB value #0000ff.
Field
2.0.0.0
Xamarin.Forms.Color
BlueViolet, the color that is represented by the RGB value #FF8A2BE2.
Field
2.0.0.0
Xamarin.Forms.Color
Brown, the color that is represented by the RGB value #FFA52A2A.
Field
2.0.0.0
Xamarin.Forms.Color
BurlyWood, the color that is represented by the RGB value #FFDEB887.
Field
2.0.0.0
Xamarin.Forms.Color
CadetBlue, the color that is represented by the RGB value #FF5F9EA0.
Field
2.0.0.0
Xamarin.Forms.Color
Chartreuse, the color that is represented by the RGB value #FF7FFF00.
Field
2.0.0.0
Xamarin.Forms.Color
Chocolate, the color that is represented by the RGB value #FFD2691E.
Field
2.0.0.0
Xamarin.Forms.Color
Coral, the color that is represented by the RGB value #FFFF7F50.
Field
2.0.0.0
Xamarin.Forms.Color
CornflowerBlue, the color that is represented by the RGB value #FF6495ED.
Field
2.0.0.0
Xamarin.Forms.Color
Cornsilk, the color that is represented by the RGB value #FFFFF8DC.
Field
2.0.0.0
Xamarin.Forms.Color
Crimson, the color that is represented by the RGB value #FFDC143C.
Field
2.0.0.0
Xamarin.Forms.Color
Cyan, the color that is represented by the RGB value #FF00FFFF.
Field
2.0.0.0
Xamarin.Forms.Color
DarkBlue, the color that is represented by the RGB value #FF00008B.
Field
2.0.0.0
Xamarin.Forms.Color
DarkCyan, the color that is represented by the RGB value #FF008B8B.
Field
2.0.0.0
Xamarin.Forms.Color
DarkGoldenrod, the color that is represented by the RGB value #FFB8860B.
Field
2.0.0.0
Xamarin.Forms.Color
DarkGray, the color that is represented by the RGB value #FFA9A9A9.
Field
2.0.0.0
Xamarin.Forms.Color
DarkGreen, the color that is represented by the RGB value #FF006400.
Field
2.0.0.0
Xamarin.Forms.Color
DarkKhaki, the color that is represented by the RGB value #FFBDB76B.
Field
2.0.0.0
Xamarin.Forms.Color
DarkMagenta, the color that is represented by the RGB value #FF8B008B.
Field
2.0.0.0
Xamarin.Forms.Color
DarkOliveGreen, the color that is represented by the RGB value #FF556B2F.
Field
2.0.0.0
Xamarin.Forms.Color
DarkOrange, the color that is represented by the RGB value #FFFF8C00.
Field
2.0.0.0
Xamarin.Forms.Color
DarkOrchid, the color that is represented by the RGB value #FF9932CC.
Field
2.0.0.0
Xamarin.Forms.Color
DarkRed, the color that is represented by the RGB value #FF8B0000.
Field
2.0.0.0
Xamarin.Forms.Color
DarkSalmon, the color that is represented by the RGB value #FFE9967A.
Field
2.0.0.0
Xamarin.Forms.Color
DarkSeaGreen, the color that is represented by the RGB value #FF8FBC8F.
Field
2.0.0.0
Xamarin.Forms.Color
DarkSlateBlue, the color that is represented by the RGB value #FF483D8B.
Field
2.0.0.0
Xamarin.Forms.Color
DarkSlateGray, the color that is represented by the RGB value #FF2F4F4F.
Field
2.0.0.0
Xamarin.Forms.Color
DarkTurquoise, the color that is represented by the RGB value #FF00CED1.
Field
2.0.0.0
Xamarin.Forms.Color
DarkViolet, the color that is represented by the RGB value #FF9400D3.
Field
2.0.0.0
Xamarin.Forms.Color
DeepPink, the color that is represented by the RGB value #FFFF1493.
Field
2.0.0.0
Xamarin.Forms.Color
DeepSkyBlue, the color that is represented by the RGB value #FF00BFFF.
Property
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Returns the default color.
The default color.
The Default color is used to unset any Color, and revert to the default one.
Field
2.0.0.0
Xamarin.Forms.Color
DimGray, the color that is represented by the RGB value #FF696969.
Field
2.0.0.0
Xamarin.Forms.Color
DodgerBlue, the color that is represented by the RGB value #FF1E90FF.
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
System.Boolean
The value to compare to this structure.
Determine if the provided is equivalent to the current Color.
if the provided object is an equivalent Color. Otherwies, .
Overriden.
Field
2.0.0.0
Xamarin.Forms.Color
Firebrick, the color that is represented by the RGB value #FFB22222.
Field
2.0.0.0
Xamarin.Forms.Color
FloralWhite, the color that is represented by the RGB value #FFFFFAF0.
Field
2.0.0.0
Xamarin.Forms.Color
ForestGreen, the color that is represented by the RGB value #FF228B22.
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
A string that contains the hexadecimal (A)RGB color representation.
Returns a new RGB Color instance with the requested Red, Green, and Blue channels. The Alpha channel is set if contains one.
A color.
When specifying a color with a hexadecimal number, app developers can use 3, 4, 6, or 8 digits. If the developer specifies 3 digits, they are interpreted as RGB doublet data for a fully opaque color. For example, "#123" specifies the color that is represented by "#FF112233". If the developer provides a 4-digit hexadecimal number, then the data are interpreted as above, except that the first digit specifies the alpha channel. For example, "#1234" specifies the color that is represented by "#11223344". If the developer provides a 6 digit hexadecimal number, the data are interpreted as a fully opaque color with those RGB values. For example, "#112233" specifies the color that is represented by "#FF112233". Finally, the developer can explicitly provide an 8-digit number that completely specifies the Alpha, Red, Green, and Blue channels, in that order.
Note that, in the paragraph above, the fully expanded color description is of the format, AARRGGBB. That is: the first pair of hexadecimal digits specifies the Alpha channel; the second pair specifies the Red channel; the third pair specifies the Green channel; and the final pair specifies the Blue channel.
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
The Hue component of the color.
The Saturation component of the color.
The Luminosity component of the color.
The alpha value of the color.
Returns a new HSL Color with an alpha channel
An HSL color
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
The red component of the color.
The green component of the color.
The blue component of the color.
Returns a new rgb color instance.
An RGB color
Component values are clamped to [0,1]. The method is striclty equivalent to new Color (r, g, b), and is present for API consistency.
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
The red component of the color.
The green component of the color.
The blue component of the color.
Returns a new rgb color instance.
A new RGB color.
Component values are clamped to [0,255].
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
The red component of the color.
The green component of the color.
The blue component of the color.
The alpha component of the color.
Returns a new RGBA color instance.
A new RGBA color.
Component values are clamped to [0,1]. The method is striclty equivalent to new Color (r, g, b, a), and is present for API consistency.
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
The red component of the color.
The green component of the color.
The blue component of the color.
The alpha component of the color.
Returns a new RGBA color instance.
A new RGBA color.
Component values are clamped to [0,255].
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
A uint that represents the ARGB value of the color.
Returns a new Color with the requested RGBA value.
An RGBA color.
The parameter must represent an unsigned integer that can be represented by hexadecimal string that matches the format "AARRGGBB".
Field
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Fucshia, the color that is represented by the RGB value #ff00ff.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
System.Obsolete("Fuschia is obsolete as of version 1.3, please use the correct spelling of Fuchsia")
Xamarin.Forms.Color
Fucshia, the color that is represented by the RGB value #ff00ff. Deprecated. See Remarks.
Use the color, instead.
Property
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
System.Double
Gets the Green component of the color.
The Green component of the color as a double that is in the inclusive range [0-1].
Field
2.0.0.0
Xamarin.Forms.Color
Gainsboro, the color that is represented by the RGB value #FFDCDCDC.
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
System.Int32
Returns the Hashcode for this .
A signed 32-bit hash code.
Overriden.
Field
2.0.0.0
Xamarin.Forms.Color
GhostWhite, the color that is represented by the RGB value #FFF8F8FF.
Field
2.0.0.0
Xamarin.Forms.Color
Gold, the color that is represented by the RGB value #FFFFD700.
Field
2.0.0.0
Xamarin.Forms.Color
Goldenrod, the color that is represented by the RGB value #FFDAA520.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Gray, the color that is represented by the RGB value #808080.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Green, the color that is represented by the RGB value #008000.
Field
2.0.0.0
Xamarin.Forms.Color
GreenYellow, the color that is represented by the RGB value #FFADFF2F.
Field
2.0.0.0
Xamarin.Forms.Color
Honeydew, the color that is represented by the RGB value #FFF0FFF0.
Field
2.0.0.0
Xamarin.Forms.Color
HotPink, the color that is represented by the RGB value #FFFF69B4.
Property
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
System.Double
Gets the Hue of the color.
The Hue component of the color as a double that is in the inclusive range [0-1].
Field
2.0.0.0
Xamarin.Forms.Color
IndianRed, the color that is represented by the RGB value #FFCD5C5C.
Field
2.0.0.0
Xamarin.Forms.Color
Indigo, the color that is represented by the RGB value #FF4B0082.
Field
2.0.0.0
Xamarin.Forms.Color
Ivory, the color that is represented by the RGB value #FFFFFFF0.
Field
2.0.0.0
Xamarin.Forms.Color
Khaki, the color that is represented by the RGB value #FFF0E68C.
Field
2.0.0.0
Xamarin.Forms.Color
Lavender, the color that is represented by the RGB value #FFE6E6FA.
Field
2.0.0.0
Xamarin.Forms.Color
LavenderBlush, the color that is represented by the RGB value #FFFFF0F5.
Field
2.0.0.0
Xamarin.Forms.Color
LawnGreen, the color that is represented by the RGB value #FF7CFC00.
Field
2.0.0.0
Xamarin.Forms.Color
LemonChiffon, the color that is represented by the RGB value #FFFFFACD.
Field
2.0.0.0
Xamarin.Forms.Color
LightBlue, the color that is represented by the RGB value #FFADD8E6.
Field
2.0.0.0
Xamarin.Forms.Color
LightCoral, the color that is represented by the RGB value #FFF08080.
Field
2.0.0.0
Xamarin.Forms.Color
LightCyan, the color that is represented by the RGB value #FFE0FFFF.
Field
2.0.0.0
Xamarin.Forms.Color
LightGoldenrodYellow, the color that is represented by the RGB value #FFFAFAD2.
Field
2.0.0.0
Xamarin.Forms.Color
LightGray, the color that is represented by the RGB value #FFD3D3D3.
Field
2.0.0.0
Xamarin.Forms.Color
LightGreen, the color that is represented by the RGB value #FF90EE90.
Field
2.0.0.0
Xamarin.Forms.Color
LightPink, the color that is represented by the RGB value #FFFFB6C1.
Field
2.0.0.0
Xamarin.Forms.Color
LightSalmon, the color that is represented by the RGB value #FFFFA07A.
Field
2.0.0.0
Xamarin.Forms.Color
LightSeaGreen, the color that is represented by the RGB value #FF20B2AA.
Field
2.0.0.0
Xamarin.Forms.Color
LightSkyBlue, the color that is represented by the RGB value #FF87CEFA.
Field
2.0.0.0
Xamarin.Forms.Color
LightSlateGray, the color that is represented by the RGB value #FF778899.
Field
2.0.0.0
Xamarin.Forms.Color
LightSteelBlue, the color that is represented by the RGB value #FFB0C4DE.
Field
2.0.0.0
Xamarin.Forms.Color
LightYellow, the color that is represented by the RGB value #FFFFFFE0.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Lime, the color that is represented by the RGB value #00ff00.
Field
2.0.0.0
Xamarin.Forms.Color
LimeGreen, the color that is represented by the RGB value #FF32CD32.
Field
2.0.0.0
Xamarin.Forms.Color
Linen, the color that is represented by the RGB value #FFFAF0E6.
Property
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
System.Double
Gets the Luminosity fo the color.
The Luminosity component of the color as a double that is in the inclusive range [0-1].
Field
2.0.0.0
Xamarin.Forms.Color
Magenta, the color that is represented by the RGB value #FFFF00FF.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Maroon, the color that is represented by the RGB value #800000.
Field
2.0.0.0
Xamarin.Forms.Color
MediumAquamarine, the color that is represented by the RGB value #FF66CDAA.
Field
2.0.0.0
Xamarin.Forms.Color
MediumBlue, the color that is represented by the RGB value #FF0000CD.
Field
2.0.0.0
Xamarin.Forms.Color
MediumOrchid, the color that is represented by the RGB value #FFBA55D3.
Field
2.0.0.0
Xamarin.Forms.Color
MediumPurple, the color that is represented by the RGB value #FF9370DB.
Field
2.0.0.0
Xamarin.Forms.Color
MediumSeaGreen, the color that is represented by the RGB value #FF3CB371.
Field
2.0.0.0
Xamarin.Forms.Color
MediumSlateBlue, the color that is represented by the RGB value #FF7B68EE.
Field
2.0.0.0
Xamarin.Forms.Color
MediumSpringGreen, the color that is represented by the RGB value #FF00FA9A.
Field
2.0.0.0
Xamarin.Forms.Color
MediumTurquoise, the color that is represented by the RGB value #FF48D1CC.
Field
2.0.0.0
Xamarin.Forms.Color
MediumVioletRed, the color that is represented by the RGB value #FFC71585.
Field
2.0.0.0
Xamarin.Forms.Color
MidnightBlue, the color that is represented by the RGB value #FF191970.
Field
2.0.0.0
Xamarin.Forms.Color
MintCream, the color that is represented by the RGB value #FFF5FFFA.
Field
2.0.0.0
Xamarin.Forms.Color
MistyRose, the color that is represented by the RGB value #FFFFE4E1.
Field
2.0.0.0
Xamarin.Forms.Color
Moccasin, the color that is represented by the RGB value #FFFFE4B5.
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
The alpha multiplicator.
Returns a new color with the alpha channel multiplied by alpha, clamped to the inclusive range [0-1].
A new RGBA color with a possibly new value for its alpha channel. See Remarks.
The resulting color has its alpha channel clamped toto the inclusive range [0-1], preventing invalid colors.
Field
2.0.0.0
Xamarin.Forms.Color
NavajoWhite, the color that is represented by the RGB value #FFFFDEAD.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Navy, the color that is represented by the RGB value #000080.
Field
2.0.0.0
Xamarin.Forms.Color
OldLace, the color that is represented by the RGB value #FFFDF5E6.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Olive, the color that is represented by the RGB value #808000.
Field
2.0.0.0
Xamarin.Forms.Color
OliveDrab, the color that is represented by the RGB value #FF6B8E23.
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
System.Boolean
To be added.
To be added.
Returns if represents the same color as .
To be added.
To be added.
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
System.Boolean
To be added.
To be added.
Returns if does not represent the same color as .
To be added.
To be added.
Field
2.0.0.0
Xamarin.Forms.Color
Orange, the color that is represented by the RGB value #ffa500.
Field
2.0.0.0
Xamarin.Forms.Color
OrangeRed, the color that is represented by the RGB value #FFFF4500.
Field
2.0.0.0
Xamarin.Forms.Color
Orchid, the color that is represented by the RGB value #FFDA70D6.
Field
2.0.0.0
Xamarin.Forms.Color
PaleGoldenrod, the color that is represented by the RGB value #FFEEE8AA.
Field
2.0.0.0
Xamarin.Forms.Color
PaleGreen, the color that is represented by the RGB value #FF98FB98.
Field
2.0.0.0
Xamarin.Forms.Color
PaleTurquoise, the color that is represented by the RGB value #FFAFEEEE.
Field
2.0.0.0
Xamarin.Forms.Color
PaleVioletRed, the color that is represented by the RGB value #FFDB7093.
Field
2.0.0.0
Xamarin.Forms.Color
PapayaWhip, the color that is represented by the RGB value #FFFFEFD5.
Field
2.0.0.0
Xamarin.Forms.Color
PeachPuff, the color that is represented by the RGB value #FFFFDAB9.
Field
2.0.0.0
Xamarin.Forms.Color
Peru, the color that is represented by the RGB value #FFCD853F.
Field
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Pink, the color that is represented by the RGB value #ff66ff.
Field
2.0.0.0
Xamarin.Forms.Color
Plum, the color that is represented by the RGB value #FFDDA0DD.
Field
2.0.0.0
Xamarin.Forms.Color
PowderBlue, the color that is represented by the RGB value #FFB0E0E6.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Purple, the color that is represented by the RGB value #800080.
Property
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
System.Double
Gets the Red component of the color.
The Red component of the color as a double that is in the inclusive range [0-1].
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Red, the color that is represented by the RGB value #ff0000.
Field
2.0.0.0
Xamarin.Forms.Color
RosyBrown, the color that is represented by the RGB value #FFBC8F8F.
Field
2.0.0.0
Xamarin.Forms.Color
RoyalBlue, the color that is represented by the RGB value #FF4169E1.
Field
2.0.0.0
Xamarin.Forms.Color
SaddleBrown, the color that is represented by the RGB value #FF8B4513.
Field
2.0.0.0
Xamarin.Forms.Color
Salmon, the color that is represented by the RGB value #FFFA8072.
Field
2.0.0.0
Xamarin.Forms.Color
SandyBrown, the color that is represented by the RGB value #FFF4A460.
Property
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
System.Double
Gets the Saturation of the color
The Saturation component of the color as a double that is in the inclusive range [0-1].
Field
2.0.0.0
Xamarin.Forms.Color
SeaGreen, the color that is represented by the RGB value #FF2E8B57.
Field
2.0.0.0
Xamarin.Forms.Color
SeaShell, the color that is represented by the RGB value #FFFFF5EE.
Field
2.0.0.0
Xamarin.Forms.Color
Sienna, the color that is represented by the RGB value #FFA0522D.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Silver, the color that is represented by the RGB value #c0c0c0.
Field
2.0.0.0
Xamarin.Forms.Color
SkyBlue, the color that is represented by the RGB value #FF87CEEB.
Field
2.0.0.0
Xamarin.Forms.Color
SlateBlue, the color that is represented by the RGB value #FF6A5ACD.
Field
2.0.0.0
Xamarin.Forms.Color
SlateGray, the color that is represented by the RGB value #FF708090.
Field
2.0.0.0
Xamarin.Forms.Color
Snow, the color that is represented by the RGB value #FFFFFAFA.
Field
2.0.0.0
Xamarin.Forms.Color
SpringGreen, the color that is represented by the RGB value #FF00FF7F.
Field
2.0.0.0
Xamarin.Forms.Color
SteelBlue, the color that is represented by the RGB value #FF4682B4.
Field
2.0.0.0
Xamarin.Forms.Color
Tan, the color that is represented by the RGB value #FFD2B48C.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Teal, the color that is represented by the RGB value #008080.
Field
2.0.0.0
Xamarin.Forms.Color
Thistle, the color that is represented by the RGB value #FFD8BFD8.
Field
2.0.0.0
Xamarin.Forms.Color
Tomato, the color that is represented by the RGB value #FFFF6347.
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
System.String
Returns a string representation of the Color.
A string.
Overriden.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
The transparent color, represented by the RGB value #ffffff00.
The Alpha channel of the color is set to 0.
Field
2.0.0.0
Xamarin.Forms.Color
Turquoise, the color that is represented by the RGB value #FF40E0D0.
Field
2.0.0.0
Xamarin.Forms.Color
Violet, the color that is represented by the RGB value #FFEE82EE.
Field
2.0.0.0
Xamarin.Forms.Color
Wheat, the color that is represented by the RGB value #FFF5DEB3.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
White, the color that is represented by the RGB value #ffffff.
Field
2.0.0.0
Xamarin.Forms.Color
WhiteSmoke, the color that is represented by the RGB value #FFF5F5F5.
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
The modified Hue.
Returns a color with modified Hue, but keeping the same Saturation and Luminosity.
A color.
The Hue is clamped to the inclusive range [0,1]. This method is useful for creating color palettes.
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
The modified luminosity.
Returns a color with modified Luminosity.
A new HSL color.
The new Luminosity is clamped to [0,1]. This method is useful for creating color palettes.
Method
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
The modified Saturation.
Returns a new color with modified Saturation.
A new HSLcolor.
The Saturation is clamped to [0,1]. This method is useful for creating color palettes.
Field
1.0.0.0
1.1.0.0
1.2.0.0
1.3.0.0
1.4.0.0
1.5.0.0
2.0.0.0
Xamarin.Forms.Color
Yellow, the color that is represented by the RGB value #ffff00..
Field
2.0.0.0
Xamarin.Forms.Color
YellowGreen, the color that is represented by the RGB value #FF9ACD32.