Class Color
Inheritance
System.Object
Color
Assembly: Syncfusion.DocIO.UWP.dll
Syntax
public sealed class Color : ValueType
Fields
Empty
Declaration
public static readonly Color Empty
Field Value
Properties
A
Declaration
Property Value
AliceBlue
Declaration
public static Color AliceBlue { get; }
Property Value
AntiqueWhite
Declaration
public static Color AntiqueWhite { get; }
Property Value
Aqua
Declaration
public static Color Aqua { get; }
Property Value
Aquamarine
Declaration
public static Color Aquamarine { get; }
Property Value
Azure
Declaration
public static Color Azure { get; }
Property Value
B
Declaration
Property Value
Beige
Declaration
public static Color Beige { get; }
Property Value
Bisque
Declaration
public static Color Bisque { get; }
Property Value
Black
Declaration
public static Color Black { get; }
Property Value
BlanchedAlmond
Declaration
public static Color BlanchedAlmond { get; }
Property Value
Blue
Declaration
public static Color Blue { get; }
Property Value
BlueViolet
Declaration
public static Color BlueViolet { get; }
Property Value
Brown
Declaration
public static Color Brown { get; }
Property Value
BurlyWood
Declaration
public static Color BurlyWood { get; }
Property Value
CadetBlue
Declaration
public static Color CadetBlue { get; }
Property Value
Chartreuse
Declaration
public static Color Chartreuse { get; }
Property Value
Chocolate
Declaration
public static Color Chocolate { get; }
Property Value
Coral
Declaration
public static Color Coral { get; }
Property Value
CornflowerBlue
Declaration
public static Color CornflowerBlue { get; }
Property Value
Cornsilk
Declaration
public static Color Cornsilk { get; }
Property Value
Crimson
Declaration
public static Color Crimson { get; }
Property Value
Cyan
Declaration
public static Color Cyan { get; }
Property Value
DarkBlue
Declaration
public static Color DarkBlue { get; }
Property Value
DarkCyan
Declaration
public static Color DarkCyan { get; }
Property Value
DarkGoldenrod
Declaration
public static Color DarkGoldenrod { get; }
Property Value
DarkGray
Declaration
public static Color DarkGray { get; }
Property Value
DarkGreen
Declaration
public static Color DarkGreen { get; }
Property Value
DarkKhaki
Declaration
public static Color DarkKhaki { get; }
Property Value
DarkMagenta
Declaration
public static Color DarkMagenta { get; }
Property Value
DarkOliveGreen
Declaration
public static Color DarkOliveGreen { get; }
Property Value
DarkOrange
Declaration
public static Color DarkOrange { get; }
Property Value
DarkOrchid
Declaration
public static Color DarkOrchid { get; }
Property Value
DarkRed
Declaration
public static Color DarkRed { get; }
Property Value
DarkSalmon
Declaration
public static Color DarkSalmon { get; }
Property Value
DarkSeaGreen
Declaration
public static Color DarkSeaGreen { get; }
Property Value
DarkSlateBlue
Declaration
public static Color DarkSlateBlue { get; }
Property Value
DarkSlateGray
Declaration
public static Color DarkSlateGray { get; }
Property Value
DarkTurquoise
Declaration
public static Color DarkTurquoise { get; }
Property Value
DarkViolet
Declaration
public static Color DarkViolet { get; }
Property Value
DeepPink
Declaration
public static Color DeepPink { get; }
Property Value
DeepSkyBlue
Declaration
public static Color DeepSkyBlue { get; }
Property Value
DimGray
Declaration
public static Color DimGray { get; }
Property Value
DodgerBlue
Declaration
public static Color DodgerBlue { get; }
Property Value
Firebrick
Declaration
public static Color Firebrick { get; }
Property Value
FloralWhite
Declaration
public static Color FloralWhite { get; }
Property Value
ForestGreen
Declaration
public static Color ForestGreen { get; }
Property Value
Fuchsia
Declaration
public static Color Fuchsia { get; }
Property Value
G
Declaration
Property Value
Gainsboro
Declaration
public static Color Gainsboro { get; }
Property Value
GhostWhite
Declaration
public static Color GhostWhite { get; }
Property Value
Gold
Declaration
public static Color Gold { get; }
Property Value
Goldenrod
Declaration
public static Color Goldenrod { get; }
Property Value
Gray
Declaration
public static Color Gray { get; }
Property Value
Green
Declaration
public static Color Green { get; }
Property Value
GreenYellow
Declaration
public static Color GreenYellow { get; }
Property Value
Honeydew
Declaration
public static Color Honeydew { get; }
Property Value
HotPink
Declaration
public static Color HotPink { get; }
Property Value
IndianRed
Declaration
public static Color IndianRed { get; }
Property Value
Indigo
Declaration
public static Color Indigo { get; }
Property Value
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
IsKnownColor
Declaration
public bool IsKnownColor { get; }
Property Value
IsNamedColor
Declaration
public bool IsNamedColor { get; }
Property Value
IsSystemColor
Declaration
public bool IsSystemColor { get; }
Property Value
Ivory
Declaration
public static Color Ivory { get; }
Property Value
Khaki
Declaration
public static Color Khaki { get; }
Property Value
Lavender
Declaration
public static Color Lavender { get; }
Property Value
LavenderBlush
Declaration
public static Color LavenderBlush { get; }
Property Value
LawnGreen
Declaration
public static Color LawnGreen { get; }
Property Value
LemonChiffon
Declaration
public static Color LemonChiffon { get; }
Property Value
LightBlue
Declaration
public static Color LightBlue { get; }
Property Value
LightCoral
Declaration
public static Color LightCoral { get; }
Property Value
LightCyan
Declaration
public static Color LightCyan { get; }
Property Value
LightGoldenrodYellow
Declaration
public static Color LightGoldenrodYellow { get; }
Property Value
LightGray
Declaration
public static Color LightGray { get; }
Property Value
LightGreen
Declaration
public static Color LightGreen { get; }
Property Value
LightPink
Declaration
public static Color LightPink { get; }
Property Value
LightSalmon
Declaration
public static Color LightSalmon { get; }
Property Value
LightSeaGreen
Declaration
public static Color LightSeaGreen { get; }
Property Value
LightSkyBlue
Declaration
public static Color LightSkyBlue { get; }
Property Value
LightSlateGray
Declaration
public static Color LightSlateGray { get; }
Property Value
LightSteelBlue
Declaration
public static Color LightSteelBlue { get; }
Property Value
LightYellow
Declaration
public static Color LightYellow { get; }
Property Value
Lime
Declaration
public static Color Lime { get; }
Property Value
LimeGreen
Declaration
public static Color LimeGreen { get; }
Property Value
Linen
Declaration
public static Color Linen { get; }
Property Value
Magenta
Declaration
public static Color Magenta { get; }
Property Value
Maroon
Declaration
public static Color Maroon { get; }
Property Value
MediumAquamarine
Declaration
public static Color MediumAquamarine { get; }
Property Value
MediumBlue
Declaration
public static Color MediumBlue { get; }
Property Value
MediumOrchid
Declaration
public static Color MediumOrchid { get; }
Property Value
MediumPurple
Declaration
public static Color MediumPurple { get; }
Property Value
MediumSeaGreen
Declaration
public static Color MediumSeaGreen { get; }
Property Value
MediumSlateBlue
Declaration
public static Color MediumSlateBlue { get; }
Property Value
MediumSpringGreen
Declaration
public static Color MediumSpringGreen { get; }
Property Value
MediumTurquoise
Declaration
public static Color MediumTurquoise { get; }
Property Value
MediumVioletRed
Declaration
public static Color MediumVioletRed { get; }
Property Value
MidnightBlue
Declaration
public static Color MidnightBlue { get; }
Property Value
MintCream
Declaration
public static Color MintCream { get; }
Property Value
MistyRose
Declaration
public static Color MistyRose { get; }
Property Value
Moccasin
Declaration
public static Color Moccasin { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
NavajoWhite
Declaration
public static Color NavajoWhite { get; }
Property Value
Navy
Declaration
public static Color Navy { get; }
Property Value
OldLace
Declaration
public static Color OldLace { get; }
Property Value
Olive
Declaration
public static Color Olive { get; }
Property Value
OliveDrab
Declaration
public static Color OliveDrab { get; }
Property Value
Orange
Declaration
public static Color Orange { get; }
Property Value
OrangeRed
Declaration
public static Color OrangeRed { get; }
Property Value
Orchid
Declaration
public static Color Orchid { get; }
Property Value
PaleGoldenrod
Declaration
public static Color PaleGoldenrod { get; }
Property Value
PaleGreen
Declaration
public static Color PaleGreen { get; }
Property Value
PaleTurquoise
Declaration
public static Color PaleTurquoise { get; }
Property Value
PaleVioletRed
Declaration
public static Color PaleVioletRed { get; }
Property Value
PapayaWhip
Declaration
public static Color PapayaWhip { get; }
Property Value
PeachPuff
Declaration
public static Color PeachPuff { get; }
Property Value
Peru
Declaration
public static Color Peru { get; }
Property Value
Pink
Declaration
public static Color Pink { get; }
Property Value
Plum
Declaration
public static Color Plum { get; }
Property Value
PowderBlue
Declaration
public static Color PowderBlue { get; }
Property Value
Purple
Declaration
public static Color Purple { get; }
Property Value
R
Declaration
Property Value
Red
Declaration
public static Color Red { get; }
Property Value
RosyBrown
Declaration
public static Color RosyBrown { get; }
Property Value
RoyalBlue
Declaration
public static Color RoyalBlue { get; }
Property Value
SaddleBrown
Declaration
public static Color SaddleBrown { get; }
Property Value
Salmon
Declaration
public static Color Salmon { get; }
Property Value
SandyBrown
Declaration
public static Color SandyBrown { get; }
Property Value
SeaGreen
Declaration
public static Color SeaGreen { get; }
Property Value
SeaShell
Declaration
public static Color SeaShell { get; }
Property Value
Sienna
Declaration
public static Color Sienna { get; }
Property Value
Silver
Declaration
public static Color Silver { get; }
Property Value
SkyBlue
Declaration
public static Color SkyBlue { get; }
Property Value
SlateBlue
Declaration
public static Color SlateBlue { get; }
Property Value
SlateGray
Declaration
public static Color SlateGray { get; }
Property Value
Snow
Declaration
public static Color Snow { get; }
Property Value
SpringGreen
Declaration
public static Color SpringGreen { get; }
Property Value
SteelBlue
Declaration
public static Color SteelBlue { get; }
Property Value
Tan
Declaration
public static Color Tan { get; }
Property Value
Teal
Declaration
public static Color Teal { get; }
Property Value
Thistle
Declaration
public static Color Thistle { get; }
Property Value
Tomato
Declaration
public static Color Tomato { get; }
Property Value
Transparent
Declaration
public static Color Transparent { get; }
Property Value
Turquoise
Declaration
public static Color Turquoise { get; }
Property Value
Violet
Declaration
public static Color Violet { get; }
Property Value
Wheat
Declaration
public static Color Wheat { get; }
Property Value
White
Declaration
public static Color White { get; }
Property Value
WhiteSmoke
Declaration
public static Color WhiteSmoke { get; }
Property Value
Yellow
Declaration
public static Color Yellow { get; }
Property Value
YellowGreen
Declaration
public static Color YellowGreen { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
FromArgb(Int32)
Declaration
public static Color FromArgb(int argb)
Parameters
Type |
Name |
Description |
System.Int32 |
argb |
|
Returns
FromArgb(Int32, Color)
Declaration
public static Color FromArgb(int alpha, Color baseColor)
Parameters
Type |
Name |
Description |
System.Int32 |
alpha |
|
Color |
baseColor |
|
Returns
FromArgb(Int32, Int32, Int32)
Declaration
public static Color FromArgb(int red, int green, int blue)
Parameters
Type |
Name |
Description |
System.Int32 |
red |
|
System.Int32 |
green |
|
System.Int32 |
blue |
|
Returns
FromArgb(Int32, Int32, Int32, Int32)
Declaration
public static Color FromArgb(int alpha, int red, int green, int blue)
Parameters
Type |
Name |
Description |
System.Int32 |
alpha |
|
System.Int32 |
red |
|
System.Int32 |
green |
|
System.Int32 |
blue |
|
Returns
GetBrightness()
Declaration
public float GetBrightness()
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
GetHue()
Declaration
Returns
GetSaturation()
Declaration
public float GetSaturation()
Returns
IsEnumValid(Enum, Int32, Int32, Int32)
Declaration
public static bool IsEnumValid(Enum enumValue, int value, int minValue, int maxValue)
Parameters
Type |
Name |
Description |
System.Enum |
enumValue |
|
System.Int32 |
value |
|
System.Int32 |
minValue |
|
System.Int32 |
maxValue |
|
Returns
ToArgb()
Declaration
Returns
ToString()
Declaration
public override string ToString()
Returns
Operators
Equality(Color, Color)
Declaration
public static bool operator ==(Color left, Color right)
Parameters
Returns
Inequality(Color, Color)
Declaration
public static bool operator !=(Color left, Color right)
Parameters
Returns
Extension Methods