Color Color Struct

Definición

Clase que representa un color y lo expone como valores RGBA y HSL.Class that represents a color and exposes it as RGBA and HSL values.

[System.Diagnostics.DebuggerDisplay("R={R}, G={G}, B={B}, A={A}, Hue={Hue}, Saturation={Saturation}, Luminosity={Luminosity}")]
[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.ColorTypeConverter))]
public struct Color
type Color = struct
Herencia
ColorColor
Atributos

Comentarios

Este tipo es inmutable.This type is immutable. Los colores se pueden expresar en los modos de RGB o HSL.Colors can be expressed in the RGB or HSL modes. Mientras el Color(Double, Double, Double) constructor toma R, G, B y los valores de una, la Color clase también calcula y hace que los datos HSL disponibles para el color.While the Color(Double, Double, Double) constructor takes R, G, B, and A values, the Color class also calculates and makes available HSL data for the color.

En XAML, los desarrolladores de aplicaciones pueden especificar cualquier propiedad que es de tipo Color, por ejemplo, TextColor como un atributo XAML o como una etiqueta anidada.In XAML, application developers can specify any property that is of type Color, for example, TextColor either as a XAML attribute or as a nested tag. El ejemplo de código siguiente muestra cómo especificar el color del texto de una etiqueta mediante el uso de un atributo:The following code example shows how to specify the text color for a label by using an attribute:


<Label VerticalOptions="CenterAndExpand" HorizontalOptions="CenterAndExpand" TextColor="Green">
    <Label.Text>Hello, World!</Label.Text>
</Label>

El ejemplo siguiente muestra cómo especificar el color del texto de una etiqueta mediante el uso de una etiqueta anidada:The example below shows how to specify the text color for a label by using a nested tag:


<Label VerticalOptions="CenterAndExpand" HorizontalOptions="CenterAndExpand">
    <Label.Text>Hello, World!</Label.Text>
    <Label.TextColor>Color.Blue</Label.TextColor>
</Label>

Los desarrolladores de aplicaciones pueden especificar colores en XAML como un número hexadecimal o como un nombre de color válido.Application developers can specify colors in XAML either as a hexadecimal number or as a valid color name.

Al especificar un color con un número hexadecimal, pueden usar los desarrolladores de aplicaciones, 3, 4 o 6 dígitos.When specifying a color with a hexadecimal number, app developers can use 3, 4, or 6 digits. Si el programador especifica 3 dígitos, se interpretan como datos de doublet RGB de un color completamente opaco.If the developer specifies 3 digits, they are interpreted as RGB doublet data for a fully opaque color. Por ejemplo, "Nº 123" especifica el color representado por "#FF112233".For example, "#123" specifies the color that is represented by "#FF112233". Si el desarrollador proporciona un número hexadecimal de 4 dígitos, los datos se interpretan como anterior, salvo que el primer dígito especifica el canal alfa.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. Por ejemplo, "Nº 1234" especifica el color representado por "#11223344".For example, "#1234" specifies the color that is represented by "#11223344". Por último, si el desarrollador proporciona un número hexadecimal de 6 dígitos, los datos se interpretan como un color completamente opaco con esos valores RGB.Finally, if the developer provides a 6 digit hexadecimal number, the data are interpreted as a fully opaque color with those RGB values. Por ejemplo, "#112233" especifica el color representado por "#FF112233".For example, "#112233" specifies the color that is represented by "#FF112233".

Al especificar un color con una cadena, los desarrolladores de aplicaciones pueden usar el nombre del color de forma aislada o un prefijo "Color.".When specifying a color with a string, app developers can use color name in isolation, or prefix it with "Color.". Por ejemplo, ambos púrpura y Color.Purple son formas válidas para especificar el color púrpura.For example, both Purple and Color.Purple are valid ways to specify the color purple.

Constructores

Color(Double) Color(Double)

Inicializa un nuevo color gris.Initialize a new gray color.

Color(Double, Double, Double) Color(Double, Double, Double)

Inicializa un nuevo color RGB.Initializes a new RGB color.

Color(Double, Double, Double, Double) Color(Double, Double, Double, Double)

Inicializa un nuevo color RGB con un canal alfa.Initializes a new RGB color with an alpha channel.

Campos

AliceBlue AliceBlue

Blanco azulado, color representado por el valor RGB #FFF0F8FF.AliceBlue, the color that is represented by the RGB value #FFF0F8FF.

AntiqueWhite AntiqueWhite

Blanco antiguo, color representado por el valor RGB #FFFAEBD7.AntiqueWhite, the color that is represented by the RGB value #FFFAEBD7.

Aqua Aqua

Aguamarina, color representado por el valor RGB #00ffff.Aqua, the color that is represented by the RGB value #00ffff.

Aquamarine Aquamarine

Aguamarina, color representado por el valor RGB #FF7FFFD4.Aquamarine, the color that is represented by the RGB value #FF7FFFD4.

Azure Azure

Celeste, color representado por el valor RGB #FFF0FFFF.Azure, the color that is represented by the RGB value #FFF0FFFF.

Beige Beige

Beige, color representado por el valor RGB #FFF5F5DC.Beige, the color that is represented by the RGB value #FFF5F5DC.

Bisque Bisque

Miel, color representado por el valor RGB #FFFFE4C4.Bisque, the color that is represented by the RGB value #FFFFE4C4.

Black Black

Negro, color representado por el valor RGB #000000.Black, the color that is represented by the RGB value #000000.

BlanchedAlmond BlanchedAlmond

Almendra pálido, color representado por el valor RGB #FFFFEBCD.BlanchedAlmond, the color that is represented by the RGB value #FFFFEBCD.

Blue Blue

Azul, color representado por el valor RGB #0000ff.Blue, the color that is represented by the RGB value #0000ff.

BlueViolet BlueViolet

Azul violáceo, color representado por el valor RGB #FF8A2BE2.BlueViolet, the color that is represented by the RGB value #FF8A2BE2.

Brown Brown

Marrón, color representado por el valor RGB #FFA52A2A.Brown, the color that is represented by the RGB value #FFA52A2A.

BurlyWood BurlyWood

Madera, color representado por el valor RGB #FFDEB887.BurlyWood, the color that is represented by the RGB value #FFDEB887.

CadetBlue CadetBlue

Azul cadete, color representado por el valor RGB #FF5F9EA0.CadetBlue, the color that is represented by the RGB value #FF5F9EA0.

Chartreuse Chartreuse

Verde pálido, color representado por el valor RGB #FF7FFF00.Chartreuse, the color that is represented by the RGB value #FF7FFF00.

Chocolate Chocolate

Chocolate, color representado por el valor RGB #FFD2691E.Chocolate, the color that is represented by the RGB value #FFD2691E.

Coral Coral

Coral, color representado por el valor RGB #FFFF7F50.Coral, the color that is represented by the RGB value #FFFF7F50.

CornflowerBlue CornflowerBlue

Azul aciano, color representado por el valor RGB #FF6495ED.CornflowerBlue, the color that is represented by the RGB value #FF6495ED.

Cornsilk Cornsilk

Crudo, color representado por el valor RGB #FFFFF8DC.Cornsilk, the color that is represented by the RGB value #FFFFF8DC.

Crimson Crimson

Carmesí, color representado por el valor RGB #FFDC143C.Crimson, the color that is represented by the RGB value #FFDC143C.

Cyan Cyan

Cian, color representado por el valor RGB #FF00FFFF.Cyan, the color that is represented by the RGB value #FF00FFFF.

DarkBlue DarkBlue

Azul oscuro, color representado por el valor RGB #FF00008B.DarkBlue, the color that is represented by the RGB value #FF00008B.

DarkCyan DarkCyan

Cian oscuro, color representado por el valor RGB #FF008B8B.DarkCyan, the color that is represented by the RGB value #FF008B8B.

DarkGoldenrod DarkGoldenrod

Ocre oscuro, color representado por el valor RGB #FFB8860B.DarkGoldenrod, the color that is represented by the RGB value #FFB8860B.

DarkGray DarkGray

Gris oscuro, color representado por el valor RGB #FFA9A9A9.DarkGray, the color that is represented by the RGB value #FFA9A9A9.

DarkGreen DarkGreen

Verde oscuro, color representado por el valor RGB #FF006400.DarkGreen, the color that is represented by the RGB value #FF006400.

DarkKhaki DarkKhaki

Caqui oscuro, color representado por el valor RGB #FFBDB76B.DarkKhaki, the color that is represented by the RGB value #FFBDB76B.

DarkMagenta DarkMagenta

Magenta oscuro, color representado por el valor RGB #FF8B008B.DarkMagenta, the color that is represented by the RGB value #FF8B008B.

DarkOliveGreen DarkOliveGreen

Verde oliva oscuro, color representado por el valor RGB #FF556B2F.DarkOliveGreen, the color that is represented by the RGB value #FF556B2F.

DarkOrange DarkOrange

Naranja oscuro, color representado por el valor RGB #FFFF8C00.DarkOrange, the color that is represented by the RGB value #FFFF8C00.

DarkOrchid DarkOrchid

Orquídea oscuro, color representado por el valor RGB #FF9932CC.DarkOrchid, the color that is represented by the RGB value #FF9932CC.

DarkRed DarkRed

Rojo oscuro, color representado por el valor RGB #FF8B0000.DarkRed, the color that is represented by the RGB value #FF8B0000.

DarkSalmon DarkSalmon

Salmón oscuro, color representado por el valor RGB #FFE9967A.DarkSalmon, the color that is represented by the RGB value #FFE9967A.

DarkSeaGreen DarkSeaGreen

Verde marino oscuro, color representado por el valor RGB #FF8FBC8F.DarkSeaGreen, the color that is represented by the RGB value #FF8FBC8F.

DarkSlateBlue DarkSlateBlue

Azul pizarra oscuro, color representado por el valor RGB #FF483D8B.DarkSlateBlue, the color that is represented by the RGB value #FF483D8B.

DarkSlateGray DarkSlateGray

Gris pizarra oscuro, color representado por el valor RGB #FF2F4F4F.DarkSlateGray, the color that is represented by the RGB value #FF2F4F4F.

DarkTurquoise DarkTurquoise

Turquesa oscuro, color representado por el valor RGB #FF00CED1.DarkTurquoise, the color that is represented by the RGB value #FF00CED1.

DarkViolet DarkViolet

Violeta oscuro, color representado por el valor RGB #FF9400D3.DarkViolet, the color that is represented by the RGB value #FF9400D3.

DeepPink DeepPink

Rosa fuerte, color representado por el valor RGB #FFFF1493.DeepPink, the color that is represented by the RGB value #FFFF1493.

DeepSkyBlue DeepSkyBlue

Azul cielo fuerte, color representado por el valor RGB #FF00BFFF.DeepSkyBlue, the color that is represented by the RGB value #FF00BFFF.

DimGray DimGray

Gris marengo, color representado por el valor RGB #FF696969.DimGray, the color that is represented by the RGB value #FF696969.

DodgerBlue DodgerBlue

Azul fuerte, color representado por el valor RGB #FF1E90FF.DodgerBlue, the color that is represented by the RGB value #FF1E90FF.

Firebrick Firebrick

Teja, color representado por el valor RGB #FFB22222.Firebrick, the color that is represented by the RGB value #FFB22222.

FloralWhite FloralWhite

Blanco manteca, color representado por el valor RGB #FFFFFAF0.FloralWhite, the color that is represented by the RGB value #FFFFFAF0.

ForestGreen ForestGreen

Verde pino, color representado por el valor RGB #FF228B22.ForestGreen, the color that is represented by the RGB value #FF228B22.

Fuchsia Fuchsia

Fucsia, color representado por el valor RGB #ff00ff.Fucshia, the color that is represented by the RGB value #ff00ff.

Fuschia Fuschia

Fucsia, color representado por el valor RGB #ff00ff.Fucshia, the color that is represented by the RGB value #ff00ff. Desusado.Deprecated. Vea la sección Comentarios.See Remarks.

Gainsboro Gainsboro

Azul gainsboro, color representado por el valor RGB #FFDCDCDC.Gainsboro, the color that is represented by the RGB value #FFDCDCDC.

GhostWhite GhostWhite

Blanco ligero, color representado por el valor RGB #FFF8F8FF.GhostWhite, the color that is represented by the RGB value #FFF8F8FF.

Gold Gold

Dorado, color representado por el valor RGB #FFFFD700.Gold, the color that is represented by the RGB value #FFFFD700.

Goldenrod Goldenrod

Ocre, color representado por el valor RGB #FFDAA520.Goldenrod, the color that is represented by the RGB value #FFDAA520.

Gray Gray

Gris, color representado por el valor RGB #808080.Gray, the color that is represented by the RGB value #808080.

Green Green

Verde, color representado por el valor RGB #008000.Green, the color that is represented by the RGB value #008000.

GreenYellow GreenYellow

Amarillo verdoso, color representado por el valor RGB #FFADFF2F.GreenYellow, the color that is represented by the RGB value #FFADFF2F.

Honeydew Honeydew

Flor de rocío, color representado por el valor RGB #FFF0FFF0.Honeydew, the color that is represented by the RGB value #FFF0FFF0.

HotPink HotPink

Rosa oscuro, color representado por el valor RGB #FFFF69B4.HotPink, the color that is represented by the RGB value #FFFF69B4.

IndianRed IndianRed

Rojo indio, color representado por el valor RGB #FFCD5C5C.IndianRed, the color that is represented by the RGB value #FFCD5C5C.

Indigo Indigo

Añil, color representado por el valor RGB #FF4B0082.Indigo, the color that is represented by the RGB value #FF4B0082.

Ivory Ivory

Marfil, color representado por el valor RGB #FFFFFFF0.Ivory, the color that is represented by the RGB value #FFFFFFF0.

Khaki Khaki

Caqui, color representado por el valor RGB #FFF0E68C.Khaki, the color that is represented by the RGB value #FFF0E68C.

Lavender Lavender

Lavanda, color representado por el valor RGB #FFE6E6FA.Lavender, the color that is represented by the RGB value #FFE6E6FA.

LavenderBlush LavenderBlush

Lavanda rosácea, color representado por el valor RGB #FFFFF0F5.LavenderBlush, the color that is represented by the RGB value #FFFFF0F5.

LawnGreen LawnGreen

Verde césped, color representado por el valor RGB #FF7CFC00.LawnGreen, the color that is represented by the RGB value #FF7CFC00.

LemonChiffon LemonChiffon

Amarillo pastel, color representado por el valor RGB #FFFFFACD.LemonChiffon, the color that is represented by the RGB value #FFFFFACD.

LightBlue LightBlue

Azul claro, color representado por el valor RGB #FFADD8E6.LightBlue, the color that is represented by the RGB value #FFADD8E6.

LightCoral LightCoral

Coral claro, color representado por el valor RGB #FFF08080.LightCoral, the color that is represented by the RGB value #FFF08080.

LightCyan LightCyan

Cian claro, color representado por el valor RGB #FFE0FFFF.LightCyan, the color that is represented by the RGB value #FFE0FFFF.

LightGoldenrodYellow LightGoldenrodYellow

Ocre claro, color representado por el valor RGB #FFFAFAD2.LightGoldenrodYellow, the color that is represented by the RGB value #FFFAFAD2.

LightGray LightGray

Gris claro, color representado por el valor RGB #FFD3D3D3.LightGray, the color that is represented by the RGB value #FFD3D3D3.

LightGreen LightGreen

Verde claro, color representado por el valor RGB #FF90EE90.LightGreen, the color that is represented by the RGB value #FF90EE90.

LightPink LightPink

Rosa claro, color representado por el valor RGB #FFFFB6C1.LightPink, the color that is represented by the RGB value #FFFFB6C1.

LightSalmon LightSalmon

Salmón claro, color representado por el valor RGB #FFFFA07A.LightSalmon, the color that is represented by the RGB value #FFFFA07A.

LightSeaGreen LightSeaGreen

Verde mar claro, color representado por el valor RGB #FF20B2AA.LightSeaGreen, the color that is represented by the RGB value #FF20B2AA.

LightSkyBlue LightSkyBlue

Azul cielo claro, color representado por el valor RGB #FF87CEFA.LightSkyBlue, the color that is represented by the RGB value #FF87CEFA.

LightSlateGray LightSlateGray

Gris pizarra claro, color representado por el valor RGB #FF778899.LightSlateGray, the color that is represented by the RGB value #FF778899.

LightSteelBlue LightSteelBlue

Azul acero claro, color representado por el valor RGB #FFB0C4DE.LightSteelBlue, the color that is represented by the RGB value #FFB0C4DE.

LightYellow LightYellow

Amarillo claro, color representado por el valor RGB #FFFFFFE0.LightYellow, the color that is represented by the RGB value #FFFFFFE0.

Lime Lime

Lima, color representado por el valor RGB #00ff00.Lime, the color that is represented by the RGB value #00ff00.

LimeGreen LimeGreen

Verde lima, color representado por el valor RGB #FF32CD32.LimeGreen, the color that is represented by the RGB value #FF32CD32.

Linen Linen

Blanco arena, color representado por el valor RGB #FFFAF0E6.Linen, the color that is represented by the RGB value #FFFAF0E6.

Magenta Magenta

Magenta, color representado por el valor RGB #FFFF00FF.Magenta, the color that is represented by the RGB value #FFFF00FF.

Maroon Maroon

Granate, color representado por el valor RGB #800000.Maroon, the color that is represented by the RGB value #800000.

MediumAquamarine MediumAquamarine

Aguamarina intermedio, color representado por el valor RGB #FF66CDAA.MediumAquamarine, the color that is represented by the RGB value #FF66CDAA.

MediumBlue MediumBlue

Azul intermedio, color representado por el valor RGB #FF0000CD.MediumBlue, the color that is represented by the RGB value #FF0000CD.

MediumOrchid MediumOrchid

Orquídea intermedio, color representado por el valor RGB #FFBA55D3.MediumOrchid, the color that is represented by the RGB value #FFBA55D3.

MediumPurple MediumPurple

Púrpura intermedio, color representado por el valor RGB #FF9370DB.MediumPurple, the color that is represented by the RGB value #FF9370DB.

MediumSeaGreen MediumSeaGreen

Verde mar intermedio, color representado por el valor RGB #FF3CB371.MediumSeaGreen, the color that is represented by the RGB value #FF3CB371.

MediumSlateBlue MediumSlateBlue

Azul pizarra intermedio, color representado por el valor RGB #FF7B68EE.MediumSlateBlue, the color that is represented by the RGB value #FF7B68EE.

MediumSpringGreen MediumSpringGreen

Verde fuerte intermedio, color representado por el valor RGB #FF00FA9A.MediumSpringGreen, the color that is represented by the RGB value #FF00FA9A.

MediumTurquoise MediumTurquoise

Turquesa intermedio, color representado por el valor RGB #FF48D1CC.MediumTurquoise, the color that is represented by the RGB value #FF48D1CC.

MediumVioletRed MediumVioletRed

Rojo violáceo intermedio, color representado por el valor RGB #FFC71585.MediumVioletRed, the color that is represented by the RGB value #FFC71585.

MidnightBlue MidnightBlue

Azul medianoche, color representado por el valor RGB #FF191970.MidnightBlue, the color that is represented by the RGB value #FF191970.

MintCream MintCream

Crema menta, color representado por el valor RGB #FFF5FFFA.MintCream, the color that is represented by the RGB value #FFF5FFFA.

MistyRose MistyRose

Rosa difuminado, color representado por el valor RGB #FFFFE4E1.MistyRose, the color that is represented by the RGB value #FFFFE4E1.

Moccasin Moccasin

Arena, color representado por el valor RGB #FFFFE4B5.Moccasin, the color that is represented by the RGB value #FFFFE4B5.

NavajoWhite NavajoWhite

Blanco navajo, color representado por el valor RGB #FFFFDEAD.NavajoWhite, the color that is represented by the RGB value #FFFFDEAD.

Navy Navy

Azul marino, color representado por el valor RGB #000080.Navy, the color that is represented by the RGB value #000080.

OldLace OldLace

Encaje antiguo, color representado por el valor RGB #FFFDF5E6.OldLace, the color that is represented by the RGB value #FFFDF5E6.

Olive Olive

Verde oliva, color representado por el valor RGB #808000.Olive, the color that is represented by the RGB value #808000.

OliveDrab OliveDrab

Verde oliva pardusco, color representado por el valor RGB #FF6B8E23.OliveDrab, the color that is represented by the RGB value #FF6B8E23.

Orange Orange

Naranja, color representado por el valor RGB #ffa500.Orange, the color that is represented by the RGB value #ffa500.

OrangeRed OrangeRed

Rojo anaranjado, color representado por el valor RGB #FFFF4500.OrangeRed, the color that is represented by the RGB value #FFFF4500.

Orchid Orchid

Orquídea, color representado por el valor RGB #FFDA70D6.Orchid, the color that is represented by the RGB value #FFDA70D6.

PaleGoldenrod PaleGoldenrod

Ocre pálido, color representado por el valor RGB #FFEEE8AA.PaleGoldenrod, the color that is represented by the RGB value #FFEEE8AA.

PaleGreen PaleGreen

Verde pálido, color representado por el valor RGB #FF98FB98.PaleGreen, the color that is represented by the RGB value #FF98FB98.

PaleTurquoise PaleTurquoise

Turquesa pálido, color representado por el valor RGB #FFAFEEEE.PaleTurquoise, the color that is represented by the RGB value #FFAFEEEE.

PaleVioletRed PaleVioletRed

Rojo violáceo pálido, color representado por el valor RGB #FFDB7093.PaleVioletRed, the color that is represented by the RGB value #FFDB7093.

PapayaWhip PapayaWhip

Papaya claro, color representado por el valor RGB #FFFFEFD5.PapayaWhip, the color that is represented by the RGB value #FFFFEFD5.

PeachPuff PeachPuff

Melocotón, color representado por el valor RGB #FFFFDAB9.PeachPuff, the color that is represented by the RGB value #FFFFDAB9.

Peru Peru

Pardo, color representado por el valor RGB #FFCD853F.Peru, the color that is represented by the RGB value #FFCD853F.

Pink Pink

Rosa, color representado por el valor RGB #ff66ff.Pink, the color that is represented by the RGB value #ff66ff.

Plum Plum

Ciruela, color representado por el valor RGB #FFDDA0DD.Plum, the color that is represented by the RGB value #FFDDA0DD.

PowderBlue PowderBlue

Azul suave, color representado por el valor RGB #FFB0E0E6.PowderBlue, the color that is represented by the RGB value #FFB0E0E6.

Purple Purple

Púrpura, color representado por el valor RGB #800080.Purple, the color that is represented by the RGB value #800080.

Red Red

Rojo, color representado por el valor RGB #ff0000.Red, the color that is represented by the RGB value #ff0000.

RosyBrown RosyBrown

Marrón rosáceo, color representado por el valor RGB #FFBC8F8F.RosyBrown, the color that is represented by the RGB value #FFBC8F8F.

RoyalBlue RoyalBlue

Azul real, color representado por el valor RGB #FF4169E1.RoyalBlue, the color that is represented by the RGB value #FF4169E1.

SaddleBrown SaddleBrown

Cuero, color representado por el valor RGB #FF8B4513.SaddleBrown, the color that is represented by the RGB value #FF8B4513.

Salmon Salmon

Salmón, color representado por el valor RGB #FFFA8072.Salmon, the color that is represented by the RGB value #FFFA8072.

SandyBrown SandyBrown

Marrón arcilla, color representado por el valor RGB #FFF4A460.SandyBrown, the color that is represented by the RGB value #FFF4A460.

SeaGreen SeaGreen

Verde mar, color representado por el valor RGB #FF2E8B57.SeaGreen, the color that is represented by the RGB value #FF2E8B57.

SeaShell SeaShell

Nácar, color representado por el valor RGB #FFFFF5EE.SeaShell, the color that is represented by the RGB value #FFFFF5EE.

Sienna Sienna

Siena, color representado por el valor RGB #FFA0522D.Sienna, the color that is represented by the RGB value #FFA0522D.

Silver Silver

Plata, color representado por el valor RGB #c0c0c0.Silver, the color that is represented by the RGB value #c0c0c0.

SkyBlue SkyBlue

Azul cielo, color representado por el valor RGB #FF87CEEB.SkyBlue, the color that is represented by the RGB value #FF87CEEB.

SlateBlue SlateBlue

Azul pizarra, color representado por el valor RGB #FF6A5ACD.SlateBlue, the color that is represented by the RGB value #FF6A5ACD.

SlateGray SlateGray

Gris pizarra, color representado por el valor RGB #FF708090.SlateGray, the color that is represented by the RGB value #FF708090.

Snow Snow

Nieve, color representado por el valor RGB #FFFFFAFA.Snow, the color that is represented by the RGB value #FFFFFAFA.

SpringGreen SpringGreen

Verde fuerte, color representado por el valor RGB #FF00FF7F.SpringGreen, the color that is represented by the RGB value #FF00FF7F.

SteelBlue SteelBlue

Azul acero, color representado por el valor RGB #FF4682B4.SteelBlue, the color that is represented by the RGB value #FF4682B4.

Tan Tan

Canela, color representado por el valor RGB #FFD2B48C.Tan, the color that is represented by the RGB value #FFD2B48C.

Teal Teal

Verde azulado, color representado por el valor RGB #008080.Teal, the color that is represented by the RGB value #008080.

Thistle Thistle

Cardo, color representado por el valor RGB #FFD8BFD8.Thistle, the color that is represented by the RGB value #FFD8BFD8.

Tomato Tomato

Rojo tomate, color representado por el valor RGB #FFFF6347.Tomato, the color that is represented by the RGB value #FFFF6347.

Transparent Transparent

Color transparente, representado por el valor RGB #ffffff00.The transparent color, represented by the RGB value #ffffff00.

Turquoise Turquoise

Turquesa, color representado por el valor RGB #FF40E0D0.Turquoise, the color that is represented by the RGB value #FF40E0D0.

Violet Violet

Violeta, color representado por el valor RGB #FFEE82EE.Violet, the color that is represented by the RGB value #FFEE82EE.

Wheat Wheat

Trigo, color representado por el valor RGB #FFF5DEB3.Wheat, the color that is represented by the RGB value #FFF5DEB3.

White White

Blanco, color representado por el valor RGB #ffffff.White, the color that is represented by the RGB value #ffffff.

WhiteSmoke WhiteSmoke

Blanco ahumado, color representado por el valor RGB #FFF5F5F5.WhiteSmoke, the color that is represented by the RGB value #FFF5F5F5.

Yellow Yellow

Amarillo, color representado por el valor RGB #ffff00.Yellow, the color that is represented by the RGB value #ffff00..

YellowGreen YellowGreen

Verde amarillento, color representado por el valor RGB #FF9ACD32.YellowGreen, the color that is represented by the RGB value #FF9ACD32.

Propiedades

A A

Obtiene el componente alfa del color.Gets the alpha component of the color.

Accent Accent

Obtiene el énfasis o tono del color de la aplicación.Gets the accent or tint color from the application.

B B

Obtiene el componente azul del color.Gets the blue component of the color.

Default Default

Devuelve el color predeterminado.Returns the default color.

G G

Obtiene el componente verde del color.Gets the Green component of the color.

Hue Hue

Obtiene el matiz del color.Gets the Hue of the color.

IsDefault IsDefault

Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform.

Luminosity Luminosity

Obtiene la luminosidad del color.Gets the Luminosity fo the color.

R R

Obtiene el componente rojo del color.Gets the Red component of the color.

Saturation Saturation

Obtiene la saturación del color.Gets the Saturation of the color

Métodos

AddLuminosity(Double) AddLuminosity(Double)

Devuelve un color nuevo con un canal de luminosidad modificado.Returns a new Color with a modified luminosity channel.

Equals(Object) Equals(Object)

Determina si el Object proporcionado equivale al color actual.Determine if the provided Object is equivalent to the current Color.

FromHex(String) FromHex(String)

Devuelve una nueva instancia de color RGB con los canales de rojo, verde y azul solicitados.Returns a new RGB Color instance with the requested Red, Green, and Blue channels. El canal alfa se establece si hex contiene uno.The Alpha channel is set if hex contains one.

FromHsla(Double, Double, Double, Double) FromHsla(Double, Double, Double, Double)

Devuelve un nuevo color HSL con un canal alfa.Returns a new HSL Color with an alpha channel

FromRgb(Double, Double, Double) FromRgb(Double, Double, Double)

Devuelve una nueva instancia de color RGB.Returns a new rgb color instance.

FromRgb(Int32, Int32, Int32) FromRgb(Int32, Int32, Int32)

Devuelve una nueva instancia de color RGB.Returns a new rgb color instance.

FromRgba(Double, Double, Double, Double) FromRgba(Double, Double, Double, Double)

Devuelve una nueva instancia de color RGBA.Returns a new RGBA color instance.

FromRgba(Int32, Int32, Int32, Int32) FromRgba(Int32, Int32, Int32, Int32)

Devuelve una nueva instancia de color RGBA.Returns a new RGBA color instance.

FromUint(UInt32) FromUint(UInt32)

Devuelve un nuevo color con el valor RGBA solicitado.Returns a new Color with the requested RGBA value.

GetHashCode() GetHashCode()

Devuelve el código hash de este Object.Returns the Hashcode for this Object.

MultiplyAlpha(Double) MultiplyAlpha(Double)

Devuelve un nuevo color con el canal alfa multiplicado por alfa, restringido al intervalo inclusivo [0-1].Returns a new color with the alpha channel multiplied by alpha, clamped to the inclusive range [0-1].

SetAccent(Color) SetAccent(Color)

Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform.

ToString() ToString()

Devuelve una representación de cadena del color.Returns a string representation of the Color.

WithHue(Double) WithHue(Double)

Devuelve un color con el matiz modificado, pero conservando la misma saturación y la misma luminosidad.Returns a color with modified Hue, but keeping the same Saturation and Luminosity.

WithLuminosity(Double) WithLuminosity(Double)

Devuelve un color con la luminosidad modificada.Returns a color with modified Luminosity.

WithSaturation(Double) WithSaturation(Double)

Devuelve un color con la saturación modificada.Returns a new color with modified Saturation.

Operadores

Equality(Color, Color) Equality(Color, Color)

Devuelve true si color1 representa el mismo color que color1.Returns true if color1 represents the same color as color1.

Implicit(Color to Color) Implicit(Color to Color)

Convierte el color proporcionado en un Color.Converts the provided color to a Color.

Implicit(Color to Color) Implicit(Color to Color)

Convierte el color proporcionado en un Color.Converts the provided color to a Color.

Inequality(Color, Color) Inequality(Color, Color)

Devuelve true si color1 no representa el mismo color que color1.Returns true if color1 does not represent the same color as color1.

Se aplica a