## Color structure

The color of the pixel.

```csharp
public struct Color
```

## Properties

| Name | Description |
| --- | --- |
| static [AliceBlue](../../aspose.imaging/color/aliceblue/) { get; } | Gets a system-defined color. |
| static [AntiqueWhite](../../aspose.imaging/color/antiquewhite/) { get; } | Gets a system-defined color. |
| static [Aqua](../../aspose.imaging/color/aqua/) { get; } | Gets a system-defined color. |
| static [Aquamarine](../../aspose.imaging/color/aquamarine/) { get; } | Gets a system-defined color. |
| static [Azure](../../aspose.imaging/color/azure/) { get; } | Gets a system-defined color. |
| static [Beige](../../aspose.imaging/color/beige/) { get; } | Gets a system-defined color. |
| static [Bisque](../../aspose.imaging/color/bisque/) { get; } | Gets a system-defined color. |
| static [Black](../../aspose.imaging/color/black/) { get; } | Gets a system-defined color. |
| static [BlanchedAlmond](../../aspose.imaging/color/blanchedalmond/) { get; } | Gets a system-defined color. |
| static [Blue](../../aspose.imaging/color/blue/) { get; } | Gets a system-defined color. |
| static [BlueViolet](../../aspose.imaging/color/blueviolet/) { get; } | Gets a system-defined color. |
| static [Brown](../../aspose.imaging/color/brown/) { get; } | Gets a system-defined color. |
| static [BurlyWood](../../aspose.imaging/color/burlywood/) { get; } | Gets a system-defined color. |
| static [CadetBlue](../../aspose.imaging/color/cadetblue/) { get; } | Gets a system-defined color. |
| static [Chartreuse](../../aspose.imaging/color/chartreuse/) { get; } | Gets a system-defined color. |
| static [Chocolate](../../aspose.imaging/color/chocolate/) { get; } | Gets a system-defined color. |
| static [Coral](../../aspose.imaging/color/coral/) { get; } | Gets a system-defined color. |
| static [CornflowerBlue](../../aspose.imaging/color/cornflowerblue/) { get; } | Gets a system-defined color. |
| static [Cornsilk](../../aspose.imaging/color/cornsilk/) { get; } | Gets a system-defined color. |
| static [Crimson](../../aspose.imaging/color/crimson/) { get; } | Gets a system-defined color. |
| static [Cyan](../../aspose.imaging/color/cyan/) { get; } | Gets a system-defined color. |
| static [DarkBlue](../../aspose.imaging/color/darkblue/) { get; } | Gets a system-defined color. |
| static [DarkCyan](../../aspose.imaging/color/darkcyan/) { get; } | Gets a system-defined color. |
| static [DarkGoldenrod](../../aspose.imaging/color/darkgoldenrod/) { get; } | Gets a system-defined color. |
| static [DarkGray](../../aspose.imaging/color/darkgray/) { get; } | Gets a system-defined color. |
| static [DarkGreen](../../aspose.imaging/color/darkgreen/) { get; } | Gets a system-defined color. |
| static [DarkKhaki](../../aspose.imaging/color/darkkhaki/) { get; } | Gets a system-defined color. |
| static [DarkMagenta](../../aspose.imaging/color/darkmagenta/) { get; } | Gets a system-defined color. |
| static [DarkOliveGreen](../../aspose.imaging/color/darkolivegreen/) { get; } | Gets a system-defined color. |
| static [DarkOrange](../../aspose.imaging/color/darkorange/) { get; } | Gets a system-defined color. |
| static [DarkOrchid](../../aspose.imaging/color/darkorchid/) { get; } | Gets a system-defined color. |
| static [DarkRed](../../aspose.imaging/color/darkred/) { get; } | Gets a system-defined color. |
| static [DarkSalmon](../../aspose.imaging/color/darksalmon/) { get; } | Gets a system-defined color. |
| static [DarkSeaGreen](../../aspose.imaging/color/darkseagreen/) { get; } | Gets a system-defined color. |
| static [DarkSlateBlue](../../aspose.imaging/color/darkslateblue/) { get; } | Gets a system-defined color. |
| static [DarkSlateGray](../../aspose.imaging/color/darkslategray/) { get; } | Gets a system-defined color. |
| static [DarkTurquoise](../../aspose.imaging/color/darkturquoise/) { get; } | Gets a system-defined color. |
| static [DarkViolet](../../aspose.imaging/color/darkviolet/) { get; } | Gets a system-defined color. |
| static [DeepPink](../../aspose.imaging/color/deeppink/) { get; } | Gets a system-defined color. |
| static [DeepSkyBlue](../../aspose.imaging/color/deepskyblue/) { get; } | Gets a system-defined color. |
| static [DimGray](../../aspose.imaging/color/dimgray/) { get; } | Gets a system-defined color. |
| static [DodgerBlue](../../aspose.imaging/color/dodgerblue/) { get; } | Gets a system-defined color. |
| static [Empty](../../aspose.imaging/color/empty/) { get; } | Gets an empty `Color`. |
| static [Firebrick](../../aspose.imaging/color/firebrick/) { get; } | Gets a system-defined color. |
| static [FloralWhite](../../aspose.imaging/color/floralwhite/) { get; } | Gets a system-defined color. |
| static [ForestGreen](../../aspose.imaging/color/forestgreen/) { get; } | Gets a system-defined color. |
| static [Fuchsia](../../aspose.imaging/color/fuchsia/) { get; } | Gets a system-defined color. |
| static [Gainsboro](../../aspose.imaging/color/gainsboro/) { get; } | Gets a system-defined color. |
| static [GhostWhite](../../aspose.imaging/color/ghostwhite/) { get; } | Gets a system-defined color. |
| static [Gold](../../aspose.imaging/color/gold/) { get; } | Gets a system-defined color. |
| static [Goldenrod](../../aspose.imaging/color/goldenrod/) { get; } | Gets a system-defined color. |
| static [Gray](../../aspose.imaging/color/gray/) { get; } | Gets a system-defined color. |
| static [Green](../../aspose.imaging/color/green/) { get; } | Gets a system-defined color. |
| static [GreenYellow](../../aspose.imaging/color/greenyellow/) { get; } | Gets a system-defined color. |
| static [Honeydew](../../aspose.imaging/color/honeydew/) { get; } | Gets a system-defined color. |
| static [HotPink](../../aspose.imaging/color/hotpink/) { get; } | Gets a system-defined color. |
| static [IndianRed](../../aspose.imaging/color/indianred/) { get; } | Gets a system-defined color. |
| static [Indigo](../../aspose.imaging/color/indigo/) { get; } | Gets a system-defined color. |
| static [Ivory](../../aspose.imaging/color/ivory/) { get; } | Gets a system-defined color. |
| static [Khaki](../../aspose.imaging/color/khaki/) { get; } | Gets a system-defined color. |
| static [Lavender](../../aspose.imaging/color/lavender/) { get; } | Gets a system-defined color. |
| static [LavenderBlush](../../aspose.imaging/color/lavenderblush/) { get; } | Gets a system-defined color. |
| static [LawnGreen](../../aspose.imaging/color/lawngreen/) { get; } | Gets a system-defined color. |
| static [LemonChiffon](../../aspose.imaging/color/lemonchiffon/) { get; } | Gets a system-defined color. |
| static [LightBlue](../../aspose.imaging/color/lightblue/) { get; } | Gets a system-defined color. |
| static [LightCoral](../../aspose.imaging/color/lightcoral/) { get; } | Gets a system-defined color. |
| static [LightCyan](../../aspose.imaging/color/lightcyan/) { get; } | Gets a system-defined color. |
| static [LightGoldenrodYellow](../../aspose.imaging/color/lightgoldenrodyellow/) { get; } | Gets a system-defined color. |
| static [LightGray](../../aspose.imaging/color/lightgray/) { get; } | Gets a system-defined color. |
| static [LightGreen](../../aspose.imaging/color/lightgreen/) { get; } | Gets a system-defined color. |
| static [LightPink](../../aspose.imaging/color/lightpink/) { get; } | Gets a system-defined color. |
| static [LightSalmon](../../aspose.imaging/color/lightsalmon/) { get; } | Gets a system-defined color. |
| static [LightSeaGreen](../../aspose.imaging/color/lightseagreen/) { get; } | Gets a system-defined color. |
| static [LightSkyBlue](../../aspose.imaging/color/lightskyblue/) { get; } | Gets a system-defined color. |
| static [LightSlateGray](../../aspose.imaging/color/lightslategray/) { get; } | Gets a system-defined color. |
| static [LightSteelBlue](../../aspose.imaging/color/lightsteelblue/) { get; } | Gets a system-defined color. |
| static [LightYellow](../../aspose.imaging/color/lightyellow/) { get; } | Gets a system-defined color. |
| static [Lime](../../aspose.imaging/color/lime/) { get; } | Gets a system-defined color. |
| static [LimeGreen](../../aspose.imaging/color/limegreen/) { get; } | Gets a system-defined color. |
| static [Linen](../../aspose.imaging/color/linen/) { get; } | Gets a system-defined color. |
| static [Magenta](../../aspose.imaging/color/magenta/) { get; } | Gets a system-defined color. |
| static [Maroon](../../aspose.imaging/color/maroon/) { get; } | Gets a system-defined color. |
| static [MediumAquamarine](../../aspose.imaging/color/mediumaquamarine/) { get; } | Gets a system-defined color. |
| static [MediumBlue](../../aspose.imaging/color/mediumblue/) { get; } | Gets a system-defined color. |
| static [MediumOrchid](../../aspose.imaging/color/mediumorchid/) { get; } | Gets a system-defined color. |
| static [MediumPurple](../../aspose.imaging/color/mediumpurple/) { get; } | Gets a system-defined color. |
| static [MediumSeaGreen](../../aspose.imaging/color/mediumseagreen/) { get; } | Gets a system-defined color. |
| static [MediumSlateBlue](../../aspose.imaging/color/mediumslateblue/) { get; } | Gets a system-defined color. |
| static [MediumSpringGreen](../../aspose.imaging/color/mediumspringgreen/) { get; } | Gets a system-defined color. |
| static [MediumTurquoise](../../aspose.imaging/color/mediumturquoise/) { get; } | Gets a system-defined color. |
| static [MediumVioletRed](../../aspose.imaging/color/mediumvioletred/) { get; } | Gets a system-defined color. |
| static [MidnightBlue](../../aspose.imaging/color/midnightblue/) { get; } | Gets a system-defined color. |
| static [MintCream](../../aspose.imaging/color/mintcream/) { get; } | Gets a system-defined color. |
| static [MistyRose](../../aspose.imaging/color/mistyrose/) { get; } | Gets a system-defined color. |
| static [Moccasin](../../aspose.imaging/color/moccasin/) { get; } | Gets a system-defined color. |
| static [NavajoWhite](../../aspose.imaging/color/navajowhite/) { get; } | Gets a system-defined color. |
| static [Navy](../../aspose.imaging/color/navy/) { get; } | Gets a system-defined color. |
| static [OldLace](../../aspose.imaging/color/oldlace/) { get; } | Gets a system-defined color. |
| static [Olive](../../aspose.imaging/color/olive/) { get; } | Gets a system-defined color. |
| static [OliveDrab](../../aspose.imaging/color/olivedrab/) { get; } | Gets a system-defined color. |
| static [Orange](../../aspose.imaging/color/orange/) { get; } | Gets a system-defined color. |
| static [OrangeRed](../../aspose.imaging/color/orangered/) { get; } | Gets a system-defined color. |
| static [Orchid](../../aspose.imaging/color/orchid/) { get; } | Gets a system-defined color. |
| static [PaleGoldenrod](../../aspose.imaging/color/palegoldenrod/) { get; } | Gets a system-defined color. |
| static [PaleGreen](../../aspose.imaging/color/palegreen/) { get; } | Gets a system-defined color. |
| static [PaleTurquoise](../../aspose.imaging/color/paleturquoise/) { get; } | Gets a system-defined color. |
| static [PaleVioletRed](../../aspose.imaging/color/palevioletred/) { get; } | Gets a system-defined color. |
| static [PapayaWhip](../../aspose.imaging/color/papayawhip/) { get; } | Gets a system-defined color. |
| static [PeachPuff](../../aspose.imaging/color/peachpuff/) { get; } | Gets a system-defined color. |
| static [Peru](../../aspose.imaging/color/peru/) { get; } | Gets a system-defined color. |
| static [Pink](../../aspose.imaging/color/pink/) { get; } | Gets a system-defined color. |
| static [Plum](../../aspose.imaging/color/plum/) { get; } | Gets a system-defined color. |
| static [PowderBlue](../../aspose.imaging/color/powderblue/) { get; } | Gets a system-defined color. |
| static [Purple](../../aspose.imaging/color/purple/) { get; } | Gets a system-defined color. |
| static [Red](../../aspose.imaging/color/red/) { get; } | Gets a system-defined color. |
| static [RosyBrown](../../aspose.imaging/color/rosybrown/) { get; } | Gets a system-defined color. |
| static [RoyalBlue](../../aspose.imaging/color/royalblue/) { get; } | Gets a system-defined color. |
| static [SaddleBrown](../../aspose.imaging/color/saddlebrown/) { get; } | Gets a system-defined color. |
| static [Salmon](../../aspose.imaging/color/salmon/) { get; } | Gets a system-defined color. |
| static [SandyBrown](../../aspose.imaging/color/sandybrown/) { get; } | Gets a system-defined color. |
| static [SeaGreen](../../aspose.imaging/color/seagreen/) { get; } | Gets a system-defined color. |
| static [SeaShell](../../aspose.imaging/color/seashell/) { get; } | Gets a system-defined color. |
| static [Sienna](../../aspose.imaging/color/sienna/) { get; } | Gets a system-defined color. |
| static [Silver](../../aspose.imaging/color/silver/) { get; } | Gets a system-defined color. |
| static [SkyBlue](../../aspose.imaging/color/skyblue/) { get; } | Gets a system-defined color. |
| static [SlateBlue](../../aspose.imaging/color/slateblue/) { get; } | Gets a system-defined color. |
| static [SlateGray](../../aspose.imaging/color/slategray/) { get; } | Gets a system-defined color. |
| static [Snow](../../aspose.imaging/color/snow/) { get; } | Gets a system-defined color. |
| static [SpringGreen](../../aspose.imaging/color/springgreen/) { get; } | Gets a system-defined color. |
| static [SteelBlue](../../aspose.imaging/color/steelblue/) { get; } | Gets a system-defined color. |
| static [Tan](../../aspose.imaging/color/tan/) { get; } | Gets a system-defined color. |
| static [Teal](../../aspose.imaging/color/teal/) { get; } | Gets a system-defined color. |
| static [Thistle](../../aspose.imaging/color/thistle/) { get; } | Gets a system-defined color. |
| static [Tomato](../../aspose.imaging/color/tomato/) { get; } | Gets a system-defined color. |
| static [Transparent](../../aspose.imaging/color/transparent/) { get; } | Gets a system-defined color. |
| static [Turquoise](../../aspose.imaging/color/turquoise/) { get; } | Gets a system-defined color. |
| static [Violet](../../aspose.imaging/color/violet/) { get; } | Gets a system-defined color. |
| static [Wheat](../../aspose.imaging/color/wheat/) { get; } | Gets a system-defined color. |
| static [White](../../aspose.imaging/color/white/) { get; } | Gets a system-defined color. |
| static [WhiteSmoke](../../aspose.imaging/color/whitesmoke/) { get; } | Gets a system-defined color. |
| static [Yellow](../../aspose.imaging/color/yellow/) { get; } | Gets a system-defined color. |
| static [YellowGreen](../../aspose.imaging/color/yellowgreen/) { get; } | Gets a system-defined color. |
| [A](../../aspose.imaging/color/a/) { get; } | Gets the alpha component value of this `Color` structure. |
| [B](../../aspose.imaging/color/b/) { get; } | Gets the blue component value of this `Color` structure. |
| [G](../../aspose.imaging/color/g/) { get; } | Gets the green component value of this `Color` structure. |
| [IsEmpty](../../aspose.imaging/color/isempty/) { get; } | Gets a value indicating whether this `Color` structure is uninitialized. |
| [IsKnownColor](../../aspose.imaging/color/isknowncolor/) { get; } | Gets a value indicating whether this `Color` structure is a predefined color. Predefined colors are represented by the elements of the [`KnownColor`](../knowncolor/) enumeration. |
| [IsNamedColor](../../aspose.imaging/color/isnamedcolor/) { get; } | Gets a value indicating whether this `Color` structure is a named color or a member of the [`KnownColor`](../knowncolor/) enumeration. |
| [Name](../../aspose.imaging/color/name/) { get; } | Gets the name of this `Color`. |
| [R](../../aspose.imaging/color/r/) { get; } | Gets the red component value of this `Color` structure. |

## Methods

| Name | Description |
| --- | --- |
| static [FromArgb](../../aspose.imaging/color/fromargb/#fromargb)(int) | Creates a `Color` structure from a 32-bit ARGB value. |
| static [FromArgb](../../aspose.imaging/color/fromargb/#fromargb_1)(int, Color) | Creates a `Color` structure from the specified `Color` structure, but with the new specified alpha value. Although this method allows a 32-bit value to be passed for the alpha value, the value is limited to 8 bits. |
| static [FromArgb](../../aspose.imaging/color/fromargb/#fromargb_2)(int, int, int) | Creates a `Color` structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits. |
| static [FromArgb](../../aspose.imaging/color/fromargb/#fromargb_3)(int, int, int, int) | Creates a `Color` structure from the four ARGB component (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits. |
| static [FromKnownColor](../../aspose.imaging/color/fromknowncolor/)(KnownColor) | Creates a `Color` structure from the specified predefined color. |
| static [FromName](../../aspose.imaging/color/fromname/)(string) | Creates a `Color` structure from the specified name of a predefined color. |
| override [Equals](../../aspose.imaging/color/equals/)(object) | Tests whether the specified object is a `Color` structure and is equivalent to this `Color` structure. |
| [GetBrightness](../../aspose.imaging/color/getbrightness/)() | Gets the hue-saturation-brightness (HSB) brightness value for this `Color` structure. |
| override [GetHashCode](../../aspose.imaging/color/gethashcode/)() | Returns a hash code for this `Color` structure. |
| [GetHue](../../aspose.imaging/color/gethue/)() | Gets the hue-saturation-brightness (HSB) hue value, in degrees, for this `Color` structure. |
| [GetSaturation](../../aspose.imaging/color/getsaturation/)() | Gets the hue-saturation-brightness (HSB) saturation value for this `Color` structure. |
| [ToArgb](../../aspose.imaging/color/toargb/)() | Gets the 32-bit ARGB value of this `Color` structure. |
| [ToKnownColor](../../aspose.imaging/color/toknowncolor/)() | Gets the [`KnownColor`](../knowncolor/) value of this `Color` structure. |
| override [ToString](../../aspose.imaging/color/tostring/)() | Converts this `Color` structure to a human-readable string. |
| static [ToCmyk](../../aspose.imaging/color/tocmyk/#tocmyk)(Color) | The conversion from Color to CMYKColor. This method is deprecated. Please use more effective [`ToCmyk`](../cmykcolorhelper/tocmyk/). |
| [operator ==](../../aspose.imaging/color/op_equality/) | Tests whether two specified `Color` structures are equivalent. |
| [operator !=](../../aspose.imaging/color/op_inequality/) | Tests whether two specified `Color` structures are different. |

### See Also

* namespace [Aspose.Imaging](../../aspose.imaging/)
* assembly [Aspose.Imaging](../../)


