Specifies the known system colors.
[CLSCompliantAttribute(false)]
public enum RasterKnownColor
typedef NS_ENUM(uint32_t, LTRasterKnownColor) {
LTRasterKnownColorAliceBlue = 0xFFF0F8FF,
LTRasterKnownColorAntiqueWhite = 0xFFFAEBD7,
LTRasterKnownColorAqua = 0xFF00FFFF,
LTRasterKnownColorAquamarine = 0xFF7FFFD4,
LTRasterKnownColorAzure = 0xFFF0FFFF,
LTRasterKnownColorBeige = 0xFFF5F5DC,
LTRasterKnownColorBisque = 0xFFFFE4C4,
LTRasterKnownColorBlack = 0xFF000000,
LTRasterKnownColorBlanchedAlmond = 0xFFFFEBCD,
LTRasterKnownColorBlue = 0xFF0000FF,
LTRasterKnownColorBlueViolet = 0xFF8A2BE2,
LTRasterKnownColorBrown = 0xFFA52A2A,
LTRasterKnownColorBurlyWood = 0xFFDEB887,
LTRasterKnownColorCadetBlue = 0xFF5F9EA0,
LTRasterKnownColorChartreuse = 0xFF7FFF00,
LTRasterKnownColorChocolate = 0xFFD2691E,
LTRasterKnownColorCoral = 0xFFFF7F50,
LTRasterKnownColorCornflowerBlue = 0xFF6495ED,
LTRasterKnownColorCornsilk = 0xFFFFF8DC,
LTRasterKnownColorCrimson = 0xFFDC143C,
LTRasterKnownColorCyan = 0xFF00FFFF,
LTRasterKnownColorDarkBlue = 0xFF00008B,
LTRasterKnownColorDarkCyan = 0xFF008B8B,
LTRasterKnownColorDarkGoldenrod = 0xFFB8860B,
LTRasterKnownColorDarkGray = 0xFFA9A9A9,
LTRasterKnownColorDarkGreen = 0xFF006400,
LTRasterKnownColorDarkKhaki = 0xFFBDB76B,
LTRasterKnownColorDarkMagenta = 0xFF8B008B,
LTRasterKnownColorDarkOliveGreen = 0xFF556B2F,
LTRasterKnownColorDarkOrange = 0xFFFF8C00,
LTRasterKnownColorDarkOrchid = 0xFF9932CC,
LTRasterKnownColorDarkRed = 0xFF8B0000,
LTRasterKnownColorDarkSalmon = 0xFFE9967A,
LTRasterKnownColorDarkSeaGreen = 0xFF8FBC8F,
LTRasterKnownColorDarkSlateBlue = 0xFF483D8B,
LTRasterKnownColorDarkSlateGray = 0xFF2F4F4F,
LTRasterKnownColorDarkTurquoise = 0xFF00CED1,
LTRasterKnownColorDarkViolet = 0xFF9400D3,
LTRasterKnownColorDeepPink = 0xFFFF1493,
LTRasterKnownColorDeepSkyBlue = 0xFF00BFFF,
LTRasterKnownColorDimGray = 0xFF696969,
LTRasterKnownColorDodgerBlue = 0xFF1E90FF,
LTRasterKnownColorFirebrick = 0xFFB22222,
LTRasterKnownColorFloralWhite = 0xFFFFFAF0,
LTRasterKnownColorForestGreen = 0xFF228B22,
LTRasterKnownColorFuchsia = 0xFFFF00FF,
LTRasterKnownColorGainsboro = 0xFFDCDCDC,
LTRasterKnownColorGhostWhite = 0xFFF8F8FF,
LTRasterKnownColorGold = 0xFFFFD700,
LTRasterKnownColorGoldenrod = 0xFFDAA520,
LTRasterKnownColorGray = 0xFF808080,
LTRasterKnownColorGreen = 0xFF008000,
LTRasterKnownColorGreenYellow = 0xFFADFF2F,
LTRasterKnownColorHoneydew = 0xFFF0FFF0,
LTRasterKnownColorHotPink = 0xFFFF69B4,
LTRasterKnownColorIndianRed = 0xFFCD5C5C,
LTRasterKnownColorIndigo = 0xFF4B0082,
LTRasterKnownColorIvory = 0xFFFFFFF0,
LTRasterKnownColorKhaki = 0xFFF0E68C,
LTRasterKnownColorLavender = 0xFFE6E6FA,
LTRasterKnownColorLavenderBlush = 0xFFFFF0F5,
LTRasterKnownColorLawnGreen = 0xFF7CFC00,
LTRasterKnownColorLemonChiFFon = 0xFFFFFACD,
LTRasterKnownColorLightBlue = 0xFFADD8E6,
LTRasterKnownColorLightCoral = 0xFFF08080,
LTRasterKnownColorLightCyan = 0xFFE0FFFF,
LTRasterKnownColorLightGoldenrodYellow = 0xFFFAFAD2,
LTRasterKnownColorLightGray = 0xFFD3D3D3,
LTRasterKnownColorLightGreen = 0xFF90EE90,
LTRasterKnownColorLightPink = 0xFFFFB6C1,
LTRasterKnownColorLightSalmon = 0xFFFFA07A,
LTRasterKnownColorLightSeaGreen = 0xFF20B2AA,
LTRasterKnownColorLightSkyBlue = 0xFF87CEFA,
LTRasterKnownColorLightSlateGray = 0xFF778899,
LTRasterKnownColorLightSteelBlue = 0xFFB0C4DE,
LTRasterKnownColorLightYellow = 0xFFFFFFE0,
LTRasterKnownColorLime = 0xFF00FF00,
LTRasterKnownColorLimeGreen = 0xFF32CD32,
LTRasterKnownColorLinen = 0xFFFAF0E6,
LTRasterKnownColorMagenta = 0xFFFF00FF,
LTRasterKnownColorMaroon = 0xFF800000,
LTRasterKnownColorMediumAquamarine = 0xFF66CDAA,
LTRasterKnownColorMediumBlue = 0xFF0000CD,
LTRasterKnownColorMediumOrchid = 0xFFBA55D3,
LTRasterKnownColorMediumPurple = 0xFF9370DB,
LTRasterKnownColorMediumSeaGreen = 0xFF3CB371,
LTRasterKnownColorMediumSlateBlue = 0xFF7B68EE,
LTRasterKnownColorMediumSpringGreen = 0xFF00FA9A,
LTRasterKnownColorMediumTurquoise = 0xFF48D1CC,
LTRasterKnownColorMediumVioletRed = 0xFFC71585,
LTRasterKnownColorMidnightBlue = 0xFF191970,
LTRasterKnownColorMintCream = 0xFFF5FFFA,
LTRasterKnownColorMistyRose = 0xFFFFE4E1,
LTRasterKnownColorMoccasin = 0xFFFFE4B5,
LTRasterKnownColorNavajoWhite = 0xFFFFDEAD,
LTRasterKnownColorNavy = 0xFF000080,
LTRasterKnownColorOldLace = 0xFFFDF5E6,
LTRasterKnownColorOlive = 0xFF808000,
LTRasterKnownColorOliveDrab = 0xFF6B8E23,
LTRasterKnownColorOrange = 0xFFFFA500,
LTRasterKnownColorOrangeRed = 0xFFFF4500,
LTRasterKnownColorOrchid = 0xFFDA70D6,
LTRasterKnownColorPaleGoldenrod = 0xFFEEE8AA,
LTRasterKnownColorPaleGreen = 0xFF98FB98,
LTRasterKnownColorPaleTurquoise = 0xFFAFEEEE,
LTRasterKnownColorPaleVioletRed = 0xFFDB7093,
LTRasterKnownColorPapayaWhip = 0xFFFFEFD5,
LTRasterKnownColorPeachPuFF = 0xFFFFDAB9,
LTRasterKnownColorPeru = 0xFFCD853F,
LTRasterKnownColorPink = 0xFFFFC0CB,
LTRasterKnownColorPlum = 0xFFDDA0DD,
LTRasterKnownColorPowderBlue = 0xFFB0E0E6,
LTRasterKnownColorPurple = 0xFF800080,
LTRasterKnownColorRed = 0xFFFF0000,
LTRasterKnownColorRosyBrown = 0xFFBC8F8F,
LTRasterKnownColorRoyalBlue = 0xFF4169E1,
LTRasterKnownColorSaddleBrown = 0xFF8B4513,
LTRasterKnownColorSalmon = 0xFFFA8072,
LTRasterKnownColorSandyBrown = 0xFFF4A460,
LTRasterKnownColorSeaGreen = 0xFF2E8B57,
LTRasterKnownColorSeaShell = 0xFFFFF5EE,
LTRasterKnownColorSienna = 0xFFA0522D,
LTRasterKnownColorSilver = 0xFFC0C0C0,
LTRasterKnownColorSkyBlue = 0xFF87CEEB,
LTRasterKnownColorSlateBlue = 0xFF6A5ACD,
LTRasterKnownColorSlateGray = 0xFF708090,
LTRasterKnownColorSnow = 0xFFFFFAFA,
LTRasterKnownColorSpringGreen = 0xFF00FF7F,
LTRasterKnownColorSteelBlue = 0xFF4682B4,
LTRasterKnownColorTan = 0xFFD2B48C,
LTRasterKnownColorTeal = 0xFF008080,
LTRasterKnownColorThistle = 0xFFD8BFD8,
LTRasterKnownColorTomato = 0xFFFF6347,
LTRasterKnownColorTransparent = 0x00FFFFFF,
LTRasterKnownColorTurquoise = 0xFF40E0D0,
LTRasterKnownColorUnknownColor = 0x00000001,
LTRasterKnownColorViolet = 0xFFEE82EE,
LTRasterKnownColorWheat = 0xFFF5DEB3,
LTRasterKnownColorWhite = 0xFFFFFFFF,
LTRasterKnownColorWhiteSmoke = 0xFFF5F5F5,
LTRasterKnownColorYellow = 0xFFFFFF00,
LTRasterKnownColorYellowGreen = 0xFF9ACD32,
LTRasterKnownColorActiveBorder = 0xFFB4B4B4,
LTRasterKnownColorActiveCaption = 0xFF99B4D1,
LTRasterKnownColorAppWorkspace = 0xFFABABAB,
LTRasterKnownColorBackground = 0xFF000000,
LTRasterKnownColorButtonFace = 0xFFF0F0F0,
LTRasterKnownColorButtonHighlight = 0xFFFFFFFF,
LTRasterKnownColorButtonShadow = 0xFFA0A0A0,
LTRasterKnownColorButtonText = 0xFF000000,
LTRasterKnownColorCaptionText = 0xFF000000,
LTRasterKnownColorGrayText = 0xFF6D6D6D,
LTRasterKnownColorHighlight = 0xFF3399FF,
LTRasterKnownColorHighlightText = 0xFFFFFFFF,
LTRasterKnownColorInactiveBorder = 0xFFF4F7FC,
LTRasterKnownColorInactiveCaption = 0xFFBFCDDB,
LTRasterKnownColorInactiveCaptionText = 0xFF434E54,
LTRasterKnownColorInfoBackground = 0xFFFFFFE1,
LTRasterKnownColorInfoText = 0xFF000000,
LTRasterKnownColorMenu = 0xFFF0F0F0,
LTRasterKnownColorMenuText = 0xFF000000,
LTRasterKnownColorScrollbar = 0xFFC8C8C8,
LTRasterKnownColorThreeDDarkShadow = 0xFF696969,
LTRasterKnownColorThreeDFace = 0xFFF0F0F0,
LTRasterKnownColorThreeDHighlight = 0xFFE3E3E3,
LTRasterKnownColorThreeDLightShadow = 0xFFFFFFFF,
LTRasterKnownColorWindow = 0xFFF0F0F0,
LTRasterKnownColorWindowFrame = 0xFF646464,
LTRasterKnownColorWindowText = 0xFF000000
};
public final class RasterKnownColor
public:
[CLSCompliantAttribute(false)]
enum class RasterKnownColor sealed
class RasterKnownColor(Enum):
UnknownColor = 0x00000001
Transparent = 0x00FFFFFF
CaptionText = 0xFF000000
CaptionText = 0xFF000000
CaptionText = 0xFF000000
CaptionText = 0xFF000000
CaptionText = 0xFF000000
CaptionText = 0xFF000000
CaptionText = 0xFF000000
Navy = 0xFF000080
DarkBlue = 0xFF00008B
MediumBlue = 0xFF0000CD
Blue = 0xFF0000FF
DarkGreen = 0xFF006400
Green = 0xFF008000
Teal = 0xFF008080
DarkCyan = 0xFF008B8B
DeepSkyBlue = 0xFF00BFFF
DarkTurquoise = 0xFF00CED1
MediumSpringGreen = 0xFF00FA9A
Lime = 0xFF00FF00
SpringGreen = 0xFF00FF7F
Cyan = 0xFF00FFFF
Cyan = 0xFF00FFFF
MidnightBlue = 0xFF191970
DodgerBlue = 0xFF1E90FF
LightSeaGreen = 0xFF20B2AA
ForestGreen = 0xFF228B22
SeaGreen = 0xFF2E8B57
DarkSlateGray = 0xFF2F4F4F
LimeGreen = 0xFF32CD32
Highlight = 0xFF3399FF
MediumSeaGreen = 0xFF3CB371
Turquoise = 0xFF40E0D0
RoyalBlue = 0xFF4169E1
InactiveCaptionText = 0xFF434E54
SteelBlue = 0xFF4682B4
DarkSlateBlue = 0xFF483D8B
MediumTurquoise = 0xFF48D1CC
Indigo = 0xFF4B0082
DarkOliveGreen = 0xFF556B2F
CadetBlue = 0xFF5F9EA0
WindowFrame = 0xFF646464
CornflowerBlue = 0xFF6495ED
RebeccaPurple = 0xFF663399
MediumAquamarine = 0xFF66CDAA
DimGray = 0xFF696969
DimGray = 0xFF696969
SlateBlue = 0xFF6A5ACD
OliveDrab = 0xFF6B8E23
GrayText = 0xFF6D6D6D
SlateGray = 0xFF708090
LightSlateGray = 0xFF778899
MediumSlateBlue = 0xFF7B68EE
LawnGreen = 0xFF7CFC00
Chartreuse = 0xFF7FFF00
Aquamarine = 0xFF7FFFD4
Maroon = 0xFF800000
Purple = 0xFF800080
Olive = 0xFF808000
Gray = 0xFF808080
SkyBlue = 0xFF87CEEB
LightSkyBlue = 0xFF87CEFA
BlueViolet = 0xFF8A2BE2
DarkRed = 0xFF8B0000
DarkMagenta = 0xFF8B008B
SaddleBrown = 0xFF8B4513
DarkSeaGreen = 0xFF8FBC8F
LightGreen = 0xFF90EE90
MediumPurple = 0xFF9370DB
DarkViolet = 0xFF9400D3
PaleGreen = 0xFF98FB98
DarkOrchid = 0xFF9932CC
ActiveCaption = 0xFF99B4D1
YellowGreen = 0xFF9ACD32
Sienna = 0xFFA0522D
ButtonShadow = 0xFFA0A0A0
Brown = 0xFFA52A2A
DarkGray = 0xFFA9A9A9
AppWorkspace = 0xFFABABAB
LightBlue = 0xFFADD8E6
GreenYellow = 0xFFADFF2F
PaleTurquoise = 0xFFAFEEEE
LightSteelBlue = 0xFFB0C4DE
PowderBlue = 0xFFB0E0E6
Firebrick = 0xFFB22222
ActiveBorder = 0xFFB4B4B4
DarkGoldenrod = 0xFFB8860B
MediumOrchid = 0xFFBA55D3
RosyBrown = 0xFFBC8F8F
DarkKhaki = 0xFFBDB76B
InactiveCaption = 0xFFBFCDDB
Silver = 0xFFC0C0C0
MediumVioletRed = 0xFFC71585
Scrollbar = 0xFFC8C8C8
IndianRed = 0xFFCD5C5C
Peru = 0xFFCD853F
Chocolate = 0xFFD2691E
Tan = 0xFFD2B48C
LightGray = 0xFFD3D3D3
Thistle = 0xFFD8BFD8
Orchid = 0xFFDA70D6
Goldenrod = 0xFFDAA520
PaleVioletRed = 0xFFDB7093
Crimson = 0xFFDC143C
Gainsboro = 0xFFDCDCDC
Plum = 0xFFDDA0DD
BurlyWood = 0xFFDEB887
LightCyan = 0xFFE0FFFF
ThreeDHighlight = 0xFFE3E3E3
Lavender = 0xFFE6E6FA
DarkSalmon = 0xFFE9967A
Violet = 0xFFEE82EE
PaleGoldenrod = 0xFFEEE8AA
LightCoral = 0xFFF08080
Khaki = 0xFFF0E68C
Menu = 0xFFF0F0F0
Menu = 0xFFF0F0F0
Menu = 0xFFF0F0F0
Menu = 0xFFF0F0F0
AliceBlue = 0xFFF0F8FF
Honeydew = 0xFFF0FFF0
Azure = 0xFFF0FFFF
SandyBrown = 0xFFF4A460
InactiveBorder = 0xFFF4F7FC
Wheat = 0xFFF5DEB3
Beige = 0xFFF5F5DC
WhiteSmoke = 0xFFF5F5F5
MintCream = 0xFFF5FFFA
GhostWhite = 0xFFF8F8FF
Salmon = 0xFFFA8072
AntiqueWhite = 0xFFFAEBD7
Linen = 0xFFFAF0E6
LightGoldenrodYellow = 0xFFFAFAD2
OldLace = 0xFFFDF5E6
Red = 0xFFFF0000
Magenta = 0xFFFF00FF
Magenta = 0xFFFF00FF
DeepPink = 0xFFFF1493
OrangeRed = 0xFFFF4500
Tomato = 0xFFFF6347
HotPink = 0xFFFF69B4
Coral = 0xFFFF7F50
DarkOrange = 0xFFFF8C00
LightSalmon = 0xFFFFA07A
Orange = 0xFFFFA500
LightPink = 0xFFFFB6C1
Pink = 0xFFFFC0CB
Gold = 0xFFFFD700
PeachPuff = 0xFFFFDAB9
NavajoWhite = 0xFFFFDEAD
Moccasin = 0xFFFFE4B5
Bisque = 0xFFFFE4C4
MistyRose = 0xFFFFE4E1
BlanchedAlmond = 0xFFFFEBCD
PapayaWhip = 0xFFFFEFD5
LavenderBlush = 0xFFFFF0F5
SeaShell = 0xFFFFF5EE
Cornsilk = 0xFFFFF8DC
LemonChiffon = 0xFFFFFACD
FloralWhite = 0xFFFFFAF0
Snow = 0xFFFFFAFA
Yellow = 0xFFFFFF00
LightYellow = 0xFFFFFFE0
InfoBackground = 0xFFFFFFE1
Ivory = 0xFFFFFFF0
HighlightText = 0xFFFFFFFF
HighlightText = 0xFFFFFFFF
HighlightText = 0xFFFFFFFF
HighlightText = 0xFFFFFFFF
Value | Member | Description |
---|---|---|
0x00000001 | UnknownColor | A system-defined color |
0x00FFFFFF | Transparent | A system-defined color |
0xFF000000 | WindowText | A system-defined color |
0xFF000000 | MenuText | A system-defined color |
0xFF000000 | InfoText | A system-defined color |
0xFF000000 | CaptionText | A system-defined color |
0xFF000000 | ButtonText | A system-defined color |
0xFF000000 | Black | A system-defined color |
0xFF000000 | Background | A system-defined color |
0xFF000080 | Navy | A system-defined color |
0xFF00008B | DarkBlue | A system-defined color |
0xFF0000CD | MediumBlue | A system-defined color |
0xFF0000FF | Blue | A system-defined color |
0xFF006400 | DarkGreen | A system-defined color |
0xFF008000 | Green | A system-defined color |
0xFF008080 | Teal | A system-defined color |
0xFF008B8B | DarkCyan | A system-defined color |
0xFF00BFFF | DeepSkyBlue | A system-defined color |
0xFF00CED1 | DarkTurquoise | A system-defined color |
0xFF00FA9A | MediumSpringGreen | A system-defined color |
0xFF00FF00 | Lime | A system-defined color |
0xFF00FF7F | SpringGreen | A system-defined color |
0xFF00FFFF | Cyan | A system-defined color |
0xFF00FFFF | Aqua | A system-defined color |
0xFF191970 | MidnightBlue | A system-defined color |
0xFF1E90FF | DodgerBlue | A system-defined color |
0xFF20B2AA | LightSeaGreen | A system-defined color |
0xFF228B22 | ForestGreen | A system-defined color |
0xFF2E8B57 | SeaGreen | A system-defined color |
0xFF2F4F4F | DarkSlateGray | A system-defined color |
0xFF32CD32 | LimeGreen | A system-defined color |
0xFF3399FF | Highlight | A system-defined color |
0xFF3CB371 | MediumSeaGreen | A system-defined color |
0xFF40E0D0 | Turquoise | A system-defined color |
0xFF4169E1 | RoyalBlue | A system-defined color |
0xFF434E54 | InactiveCaptionText | A system-defined color |
0xFF4682B4 | SteelBlue | A system-defined color |
0xFF483D8B | DarkSlateBlue | A system-defined color |
0xFF48D1CC | MediumTurquoise | A system-defined color |
0xFF4B0082 | Indigo | A system-defined color |
0xFF556B2F | DarkOliveGreen | A system-defined color |
0xFF5F9EA0 | CadetBlue | A system-defined color |
0xFF646464 | WindowFrame | A system-defined color |
0xFF6495ED | CornflowerBlue | A system-defined color |
0xFF66CDAA | MediumAquamarine | A system-defined color |
0xFF696969 | ThreeDDarkShadow | A system-defined color |
0xFF696969 | DimGray | A system-defined color |
0xFF6A5ACD | SlateBlue | A system-defined color |
0xFF6B8E23 | OliveDrab | A system-defined color |
0xFF6D6D6D | GrayText | A system-defined color |
0xFF708090 | SlateGray | A system-defined color |
0xFF778899 | LightSlateGray | A system-defined color |
0xFF7B68EE | MediumSlateBlue | A system-defined color |
0xFF7CFC00 | LawnGreen | A system-defined color |
0xFF7FFF00 | Chartreuse | A system-defined color |
0xFF7FFFD4 | Aquamarine | A system-defined color |
0xFF800000 | Maroon | A system-defined color |
0xFF800080 | Purple | A system-defined color |
0xFF808000 | Olive | A system-defined color |
0xFF808080 | Gray | A system-defined color |
0xFF87CEEB | SkyBlue | A system-defined color |
0xFF87CEFA | LightSkyBlue | A system-defined color |
0xFF8A2BE2 | BlueViolet | A system-defined color |
0xFF8B0000 | DarkRed | A system-defined color |
0xFF8B008B | DarkMagenta | A system-defined color |
0xFF8B4513 | SaddleBrown | A system-defined color |
0xFF8FBC8F | DarkSeaGreen | A system-defined color |
0xFF90EE90 | LightGreen | A system-defined color |
0xFF9370DB | MediumPurple | A system-defined color |
0xFF9400D3 | DarkViolet | A system-defined color |
0xFF98FB98 | PaleGreen | A system-defined color |
0xFF9932CC | DarkOrchid | A system-defined color |
0xFF99B4D1 | ActiveCaption | A system-defined color |
0xFF9ACD32 | YellowGreen | A system-defined color |
0xFFA0522D | Sienna | A system-defined color |
0xFFA0A0A0 | ButtonShadow | A system-defined color |
0xFFA52A2A | Brown | A system-defined color |
0xFFA9A9A9 | DarkGray | A system-defined color |
0xFFABABAB | AppWorkspace | A system-defined color |
0xFFADD8E6 | LightBlue | A system-defined color |
0xFFADFF2F | GreenYellow | A system-defined color |
0xFFAFEEEE | PaleTurquoise | A system-defined color |
0xFFB0C4DE | LightSteelBlue | A system-defined color |
0xFFB0E0E6 | PowderBlue | A system-defined color |
0xFFB22222 | Firebrick | A system-defined color |
0xFFB4B4B4 | ActiveBorder | A system-defined color |
0xFFB8860B | DarkGoldenrod | A system-defined color |
0xFFBA55D3 | MediumOrchid | A system-defined color |
0xFFBC8F8F | RosyBrown | A system-defined color |
0xFFBDB76B | DarkKhaki | A system-defined color |
0xFFBFCDDB | InactiveCaption | A system-defined color |
0xFFC0C0C0 | Silver | A system-defined color |
0xFFC71585 | MediumVioletRed | A system-defined color |
0xFFC8C8C8 | Scrollbar | A system-defined color |
0xFFCD5C5C | IndianRed | A system-defined color |
0xFFCD853F | Peru | A system-defined color |
0xFFD2691E | Chocolate | A system-defined color |
0xFFD2B48C | Tan | A system-defined color |
0xFFD3D3D3 | LightGray | A system-defined color |
0xFFD8BFD8 | Thistle | A system-defined color |
0xFFDA70D6 | Orchid | A system-defined color |
0xFFDAA520 | Goldenrod | A system-defined color |
0xFFDB7093 | PaleVioletRed | A system-defined color |
0xFFDC143C | Crimson | A system-defined color |
0xFFDCDCDC | Gainsboro | A system-defined color |
0xFFDDA0DD | Plum | A system-defined color |
0xFFDEB887 | BurlyWood | A system-defined color |
0xFFE0FFFF | LightCyan | A system-defined color |
0xFFE3E3E3 | ThreeDHighlight | A system-defined color |
0xFFE6E6FA | Lavender | A system-defined color |
0xFFE9967A | DarkSalmon | A system-defined color |
0xFFEE82EE | Violet | A system-defined color |
0xFFEEE8AA | PaleGoldenrod | A system-defined color |
0xFFF08080 | LightCoral | A system-defined color |
0xFFF0E68C | Khaki | A system-defined color |
0xFFF0F0F0 | Window | A system-defined color |
0xFFF0F0F0 | ThreeDFace | A system-defined color |
0xFFF0F0F0 | Menu | A system-defined color |
0xFFF0F0F0 | ButtonFace | A system-defined color |
0xFFF0F8FF | AliceBlue | A system-defined color |
0xFFF0FFF0 | Honeydew | A system-defined color |
0xFFF0FFFF | Azure | A system-defined color |
0xFFF4A460 | SandyBrown | A system-defined color |
0xFFF4F7FC | InactiveBorder | A system-defined color |
0xFFF5DEB3 | Wheat | A system-defined color |
0xFFF5F5DC | Beige | A system-defined color |
0xFFF5F5F5 | WhiteSmoke | A system-defined color |
0xFFF5FFFA | MintCream | A system-defined color |
0xFFF8F8FF | GhostWhite | A system-defined color |
0xFFFA8072 | Salmon | A system-defined color |
0xFFFAEBD7 | AntiqueWhite | A system-defined color |
0xFFFAF0E6 | Linen | A system-defined color |
0xFFFAFAD2 | LightGoldenrodYellow | A system-defined color |
0xFFFDF5E6 | OldLace | A system-defined color |
0xFFFF0000 | Red | A system-defined color |
0xFFFF00FF | Magenta | A system-defined color |
0xFFFF00FF | Fuchsia | A system-defined color |
0xFFFF1493 | DeepPink | A system-defined color |
0xFFFF4500 | OrangeRed | A system-defined color |
0xFFFF6347 | Tomato | A system-defined color |
0xFFFF69B4 | HotPink | A system-defined color |
0xFFFF7F50 | Coral | A system-defined color |
0xFFFF8C00 | DarkOrange | A system-defined color |
0xFFFFA07A | LightSalmon | A system-defined color |
0xFFFFA500 | Orange | A system-defined color |
0xFFFFB6C1 | LightPink | A system-defined color |
0xFFFFC0CB | Pink | A system-defined color |
0xFFFFD700 | Gold | A system-defined color |
0xFFFFDAB9 | PeachPuff | A system-defined color |
0xFFFFDEAD | NavajoWhite | A system-defined color |
0xFFFFE4B5 | Moccasin | A system-defined color |
0xFFFFE4C4 | Bisque | A system-defined color |
0xFFFFE4E1 | MistyRose | A system-defined color |
0xFFFFEBCD | BlanchedAlmond | A system-defined color |
0xFFFFEFD5 | PapayaWhip | A system-defined color |
0xFFFFF0F5 | LavenderBlush | A system-defined color |
0xFFFFF5EE | SeaShell | A system-defined color |
0xFFFFF8DC | Cornsilk | A system-defined color |
0xFFFFFACD | LemonChiffon | A system-defined color |
0xFFFFFAF0 | FloralWhite | A system-defined color |
0xFFFFFAFA | Snow | A system-defined color |
0xFFFFFF00 | Yellow | A system-defined color |
0xFFFFFFE0 | LightYellow | A system-defined color |
0xFFFFFFE1 | InfoBackground | A system-defined color |
0xFFFFFFF0 | Ivory | A system-defined color |
0xFFFFFFFF | ThreeDLightShadow | A system-defined color |
0xFFFFFFFF | HighlightText | A system-defined color |
0xFFFFFFFF | ButtonHighlight | A system-defined color |
0xFFFFFFFF | White | A system-defined color |
0xFF663399 | RebeccaPurple | A system-defined color |
You can use the RasterKnownColor enumeration to construct RasterColor objects from colors known by name.
using Leadtools;
public void FromKnownColorExample()
{
// Create a yellow color (R = 255, G = 255, B = 0)
RasterColor clr1 = new RasterColor(255, 255, 0);
// Now create the same color using the "Yellow" known color
RasterColor clr2 = RasterColor.FromKnownColor(RasterKnownColor.Yellow);
// Make sure both colors have the same value
Assert.IsTrue(clr1.A == clr2.A);
Assert.IsTrue(clr1.R == clr2.R);
Assert.IsTrue(clr1.G == clr2.G);
Assert.IsTrue(clr1.B == clr2.B);
}
import java.io.File;
import java.io.IOException;
import java.util.Random;
import org.junit.*;
import org.junit.Test;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;
import org.junit.runner.notification.Failure;
import static org.junit.Assert.*;
import leadtools.*;
public void rasterColorFromKnownColorExample() {
// Create a yellow color (R = 255, G = 255, B = 0)
RasterColor clr1 = new RasterColor(255, 255, 0);
// Now create the same color using the "Yellow" known color
RasterColor clr2 = RasterColor.fromKnownColor(RasterKnownColor.YELLOW);
// Make sure both colors have the same value
assertTrue(clr1.a() == clr2.a());
assertTrue(clr1.r() == clr2.r());
assertTrue(clr1.g() == clr2.g());
assertTrue(clr1.b() == clr2.b());
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document