Color
Overview
Color is a class in Aspose.Slides FOSS for .NET.
Immutable value type representing an ARGB color.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
A | int | Read | Gets the alpha (transparency) component of the color |
R | int | Read | Gets the red component of the color |
G | int | Read | Gets the green component of the color |
B | int | Read | Gets the blue component of the color |
Transparent | Color | Read | Represents a fully transparent color (alpha = 0) |
AliceBlue | Color | Read | Represents the predefined AliceBlue color |
AntiqueWhite | Color | Read | Represents the predefined AntiqueWhite color |
Aqua | Color | Read | Represents the predefined Aqua color |
Aquamarine | Color | Read | Represents the predefined Aquamarine color |
Azure | Color | Read | Represents the predefined Azure color |
Beige | Color | Read | Represents the predefined Beige color |
Bisque | Color | Read | Represents the predefined Bisque color |
Black | Color | Read | Represents the predefined Black color |
BlanchedAlmond | Color | Read | Represents the predefined BlanchedAlmond color |
Blue | Color | Read | Represents the predefined Blue color |
BlueViolet | Color | Read | Represents the predefined BlueViolet color |
Brown | Color | Read | Represents the predefined Brown color |
BurlyWood | Color | Read | Represents the predefined BurlyWood color |
CadetBlue | Color | Read | Represents the predefined CadetBlue color |
Chartreuse | Color | Read | Represents the predefined Chartreuse color |
Chocolate | Color | Read | Represents the predefined Chocolate color |
Coral | Color | Read | Represents the predefined Coral color |
CornflowerBlue | Color | Read | Represents the predefined CornflowerBlue color |
Cornsilk | Color | Read | Represents the predefined Cornsilk color |
Crimson | Color | Read | Represents the predefined Crimson color |
Cyan | Color | Read | Represents the predefined Cyan color |
DarkBlue | Color | Read | Represents the predefined DarkBlue color |
DarkCyan | Color | Read | Represents the predefined DarkCyan color |
DarkGoldenrod | Color | Read | Represents the predefined DarkGoldenrod color |
DarkGray | Color | Read | Represents the predefined DarkGray color |
DarkGreen | Color | Read | The Dark Green color. |
DarkKhaki | Color | Read | The Dark Khaki color. |
DarkMagenta | Color | Read | The Dark Magenta color. |
DarkOliveGreen | Color | Read | The Dark Olive Green color. |
DarkOrange | Color | Read | The Dark Orange color. |
DarkOrchid | Color | Read | The Dark Orchid color. |
DarkRed | Color | Read | The Dark Red color. |
DarkSalmon | Color | Read | The Dark Salmon color. |
DarkSeaGreen | Color | Read | The Dark Sea Green color. |
DarkSlateBlue | Color | Read | The Dark Slate Blue color. |
DarkSlateGray | Color | Read | The Dark Slate Gray color. |
DarkTurquoise | Color | Read | The Dark Turquoise color. |
DarkViolet | Color | Read | The Dark Violet color. |
DeepPink | Color | Read | The Deep Pink color. |
DeepSkyBlue | Color | Read | The Deep Sky Blue color. |
DimGray | Color | Read | The Dim Gray color. |
DodgerBlue | Color | Read | The Dodger Blue color. |
Firebrick | Color | Read | The Firebrick color. |
FloralWhite | Color | Read | The Floral White color. |
ForestGreen | Color | Read | The Forest Green color. |
Fuchsia | Color | Read | The Fuchsia color. |
Gainsboro | Color | Read | The Gainsboro color. |
GhostWhite | Color | Read | The Ghost White color. |
Gold | Color | Read | The Gold color. |
Goldenrod | Color | Read | The Goldenrod color. |
Gray | Color | Read | The Gray color. |
Green | Color | Read | The Green color. |
GreenYellow | Color | Read | The Green Yellow color. |
Honeydew | Color | Read | The Honeydew color. |
HotPink | Color | Read | The Hot Pink color. |
IndianRed | Color | Read | The Indian Red color. |
Indigo | Color | Read | The Indigo color. |
Ivory | Color | Read | The Ivory color. |
Khaki | Color | Read | The Khaki color. |
Lavender | Color | Read | The Lavender color. |
LavenderBlush | Color | Read | The Lavender Blush color. |
LawnGreen | Color | Read | The Lawn Green color. |
LemonChiffon | Color | Read | The Lemon Chiffon color. |
LightBlue | Color | Read | The Light Blue color. |
LightCoral | Color | Read | The Light Coral color. |
LightCyan | Color | Read | The Light Cyan color. |
LightGoldenrodYellow | Color | Read | The Light Goldenrod Yellow color. |
LightGray | Color | Read | The Light Gray color. |
LightGreen | Color | Read | The Light Green color. |
LightPink | Color | Read | The Light Pink color. |
LightSalmon | Color | Read | The Light Salmon color. |
LightSeaGreen | Color | Read | The Light Sea Green color. |
LightSkyBlue | Color | Read | The Light Sky Blue color. |
LightSlateGray | Color | Read | The Light Slate Gray color. |
LightSteelBlue | Color | Read | The Light Steel Blue color. |
LightYellow | Color | Read | The Light Yellow color. |
Lime | Color | Read | The Lime color. |
LimeGreen | Color | Read | The Lime Green color. |
Linen | Color | Read | The Linen color. |
Magenta | Color | Read | The Magenta color. |
Maroon | Color | Read | The Maroon color. |
MediumAquamarine | Color | Read | The Medium Aquamarine color. |
MediumBlue | Color | Read | The Medium Blue color. |
MediumOrchid | Color | Read | The Medium Orchid color. |
MediumPurple | Color | Read | The Medium Purple color. |
MediumSeaGreen | Color | Read | The Medium Sea Green color. |
MediumSlateBlue | Color | Read | The Medium Slate Blue color. |
MediumSpringGreen | Color | Read | The Medium Spring Green color. |
MediumTurquoise | Color | Read | The Medium Turquoise color. |
MediumVioletRed | Color | Read | The Medium Violet Red color. |
MidnightBlue | Color | Read | The Midnight Blue color. |
MintCream | Color | Read | The Mint Cream color. |
MistyRose | Color | Read | The Misty Rose color. |
Moccasin | Color | Read | The Moccasin color. |
NavajoWhite | Color | Read | The Navajo White color. |
Navy | Color | Read | The Navy color. |
OldLace | Color | Read | The Old Lace color. |
Olive | Color | Read | The Olive color. |
OliveDrab | Color | Read | The Olive Drab color. |
Orange | Color | Read | The Orange color. |
OrangeRed | Color | Read | The Orange Red color. |
Orchid | Color | Read | The Orchid color. |
PaleGoldenrod | Color | Read | The Pale Goldenrod color. |
PaleGreen | Color | Read | The Pale Green color. |
PaleTurquoise | Color | Read | The Pale Turquoise color. |
PaleVioletRed | Color | Read | The Pale Violet Red color. |
PapayaWhip | Color | Read | The Papaya Whip color. |
PeachPuff | Color | Read | The Peach Puff color. |
Peru | Color | Read | The Peru color. |
Pink | Color | Read | The Pink color. |
Plum | Color | Read | The Plum color. |
PowderBlue | Color | Read | The Powder Blue color. |
Purple | Color | Read | The Purple color. |
Red | Color | Read | The Red color. |
RosyBrown | Color | Read | The Rosy Brown color. |
RoyalBlue | Color | Read | The Royal Blue color. |
SaddleBrown | Color | Read | The Saddle Brown color. |
Salmon | Color | Read | The Salmon color. |
SandyBrown | Color | Read | The Sandy Brown color. |
SeaGreen | Color | Read | The Sea Green color. |
SeaShell | Color | Read | The Sea Shell color. |
Sienna | Color | Read | The Sienna color. |
Silver | Color | Read | The Silver color. |
SkyBlue | Color | Read | The Sky Blue color. |
SlateBlue | Color | Read | The Slate Blue color. |
SlateGray | Color | Read | The Slate Gray color. |
Snow | Color | Read | The Snow color. |
SpringGreen | Color | Read | The Spring Green color. |
SteelBlue | Color | Read | The Steel Blue color. |
Tan | Color | Read | The Tan color. |
Teal | Color | Read | The Teal color. |
Thistle | Color | Read | The Thistle color. |
Tomato | Color | Read | The Tomato color. |
Turquoise | Color | Read | The Turquoise color. |
Violet | Color | Read | The Violet color. |
Wheat | Color | Read | The Wheat color. |
White | Color | Read | The White color. |
WhiteSmoke | Color | Read | The White Smoke color. |
Yellow | Color | Read | The Yellow color. |
YellowGreen | Color | Read | The Yellow Green color. |
Empty | Color | Read | The Empty color. |
Methods
| Signature | Description |
|---|---|
Color(a: int, r: int, g: int, b: int) | Creates a new Color with the specified alpha, red, green, and blue components |
FromArgb(a: int, r: int, g: int, b: int) | Creates a new from the specified ARGB components. |
Equals(obj: object?) | Returns true if the provided object is a Color with the same ARGB values |
GetHashCode() | Returns a hash code based on the color’s ARGB components |
ToString() | Returns a string that represents the color’s ARGB values |