Color

Overview

Color is a class in Aspose.Slides FOSS for .NET.

Immutable value type representing an ARGB color.

This class provides 5 methods for working with Color objects in .NET programs. Available methods include: Color, Equals, FromArgb, GetHashCode, ToString. All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package. Properties: A, AliceBlue, AntiqueWhite, Aqua, Aquamarine, Azure, and 140 more.

Properties

NameTypeAccessDescription
AintReadGets the alpha component.
RintReadGets the red component.
GintReadGets the green component.
BintReadGets the blue component.
TransparentColorReadGets the transparent.
AliceBlueColorReadGets the alice blue.
AntiqueWhiteColorReadGets the antique white.
AquaColorReadGets the aqua.
AquamarineColorReadGets the aquamarine.
AzureColorReadGets the azure.
BeigeColorReadGets the beige.
BisqueColorReadGets the bisque.
BlackColorReadGets the black.
BlanchedAlmondColorReadGets the blanched almond.
BlueColorReadGets the blue.
BlueVioletColorReadGets the blue violet.
BrownColorReadGets the brown.
BurlyWoodColorReadGets the burly wood.
CadetBlueColorReadGets the cadet blue.
ChartreuseColorReadGets the chartreuse.
ChocolateColorReadGets the chocolate.
CoralColorReadGets the coral.
CornflowerBlueColorReadGets the cornflower blue.
CornsilkColorReadGets the cornsilk.
CrimsonColorReadGets the crimson.
CyanColorReadGets the cyan.
DarkBlueColorReadGets the dark blue.
DarkCyanColorReadGets the dark cyan.
DarkGoldenrodColorReadGets the dark goldenrod.
DarkGrayColorReadGets the dark gray.
DarkGreenColorReadGets the dark green.
DarkKhakiColorReadGets the dark khaki.
DarkMagentaColorReadGets the dark magenta.
DarkOliveGreenColorReadGets the dark olive green.
DarkOrangeColorReadGets the dark orange.
DarkOrchidColorReadGets the dark orchid.
DarkRedColorReadGets the dark red.
DarkSalmonColorReadGets the dark salmon.
DarkSeaGreenColorReadGets the dark sea green.
DarkSlateBlueColorReadGets the dark slate blue.
DarkSlateGrayColorReadGets the dark slate gray.
DarkTurquoiseColorReadGets the dark turquoise.
DarkVioletColorReadGets the dark violet.
DeepPinkColorReadGets the deep pink.
DeepSkyBlueColorReadGets the deep sky blue.
DimGrayColorReadGets the dim gray.
DodgerBlueColorReadGets the dodger blue.
FirebrickColorReadGets the firebrick.
FloralWhiteColorReadGets the floral white.
ForestGreenColorReadGets the forest green.
FuchsiaColorReadGets the fuchsia.
GainsboroColorReadGets the gainsboro.
GhostWhiteColorReadGets the ghost white.
GoldColorReadGets the gold.
GoldenrodColorReadGets the goldenrod.
GrayColorReadGets the gray.
GreenColorReadGets the green.
GreenYellowColorReadGets the green yellow.
HoneydewColorReadGets the honeydew.
HotPinkColorReadGets the hot pink.
IndianRedColorReadGets the indian red.
IndigoColorReadGets the indigo.
IvoryColorReadGets the ivory.
KhakiColorReadGets the khaki.
LavenderColorReadGets the lavender.
LavenderBlushColorReadGets the lavender blush.
LawnGreenColorReadGets the lawn green.
LemonChiffonColorReadGets the lemon chiffon.
LightBlueColorReadGets the light blue.
LightCoralColorReadGets the light coral.
LightCyanColorReadGets the light cyan.
LightGoldenrodYellowColorReadGets the light goldenrod yellow.
LightGrayColorReadGets the light gray.
LightGreenColorReadGets the light green.
LightPinkColorReadGets the light pink.
LightSalmonColorReadGets the light salmon.
LightSeaGreenColorReadGets the light sea green.
LightSkyBlueColorReadGets the light sky blue.
LightSlateGrayColorReadGets the light slate gray.
LightSteelBlueColorReadGets the light steel blue.
LightYellowColorReadGets the light yellow.
LimeColorReadGets the lime.
LimeGreenColorReadGets the lime green.
LinenColorReadGets the linen.
MagentaColorReadGets the magenta.
MaroonColorReadGets the maroon.
MediumAquamarineColorReadGets the medium aquamarine.
MediumBlueColorReadGets the medium blue.
MediumOrchidColorReadGets the medium orchid.
MediumPurpleColorReadGets the medium purple.
MediumSeaGreenColorReadGets the medium sea green.
MediumSlateBlueColorReadGets the medium slate blue.
MediumSpringGreenColorReadGets the medium spring green.
MediumTurquoiseColorReadGets the medium turquoise.
MediumVioletRedColorReadGets the medium violet red.
MidnightBlueColorReadGets the midnight blue.
MintCreamColorReadGets the mint cream.
MistyRoseColorReadGets the misty rose.
MoccasinColorReadGets the moccasin.
NavajoWhiteColorReadGets the navajo white.
NavyColorReadGets the navy.
OldLaceColorReadGets the old lace.
OliveColorReadGets the olive.
OliveDrabColorReadGets the olive drab.
OrangeColorReadGets the orange.
OrangeRedColorReadGets the orange red.
OrchidColorReadGets the orchid.
PaleGoldenrodColorReadGets the pale goldenrod.
PaleGreenColorReadGets the pale green.
PaleTurquoiseColorReadGets the pale turquoise.
PaleVioletRedColorReadGets the pale violet red.
PapayaWhipColorReadGets the papaya whip.
PeachPuffColorReadGets the peach puff.
PeruColorReadGets the peru.
PinkColorReadGets the pink.
PlumColorReadGets the plum.
PowderBlueColorReadGets the powder blue.
PurpleColorReadGets the purple.
RedColorReadGets the red.
RosyBrownColorReadGets the rosy brown.
RoyalBlueColorReadGets the royal blue.
SaddleBrownColorReadGets the saddle brown.
SalmonColorReadGets the salmon.
SandyBrownColorReadGets the sandy brown.
SeaGreenColorReadGets the sea green.
SeaShellColorReadGets the sea shell.
SiennaColorReadGets the sienna.
SilverColorReadGets the silver.
SkyBlueColorReadGets the sky blue.
SlateBlueColorReadGets the slate blue.
SlateGrayColorReadGets the slate gray.
SnowColorReadGets the snow.
SpringGreenColorReadGets the spring green.
SteelBlueColorReadGets the steel blue.
TanColorReadGets the tan.
TealColorReadGets the teal.
ThistleColorReadGets the thistle.
TomatoColorReadGets the tomato.
TurquoiseColorReadGets the turquoise.
VioletColorReadGets the violet.
WheatColorReadGets the wheat.
WhiteColorReadGets the white.
WhiteSmokeColorReadGets the white smoke.
YellowColorReadGets the yellow.
YellowGreenColorReadGets the yellow green.
EmptyColorReadGets the empty.

Methods

SignatureDescription
Color(a: int, r: int, g: int, b: int)Initializes a new instance of Color with the specified ARGB components.
FromArgb(a: int, r: int, g: int, b: int)Creates a new Color 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

See Also