←Select platform

RasterKnownColor Enumeration

Summary

Specifies the known system colors.

Syntax
C#
Objective-C
C++/CLI
Java
Python
[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 
Members
ValueMemberDescription
0x00000001UnknownColorA system-defined color
0x00FFFFFFTransparentA system-defined color
0xFF000000WindowTextA system-defined color
0xFF000000MenuTextA system-defined color
0xFF000000InfoTextA system-defined color
0xFF000000CaptionTextA system-defined color
0xFF000000ButtonTextA system-defined color
0xFF000000BlackA system-defined color
0xFF000000BackgroundA system-defined color
0xFF000080NavyA system-defined color
0xFF00008BDarkBlueA system-defined color
0xFF0000CDMediumBlueA system-defined color
0xFF0000FFBlueA system-defined color
0xFF006400DarkGreenA system-defined color
0xFF008000GreenA system-defined color
0xFF008080TealA system-defined color
0xFF008B8BDarkCyanA system-defined color
0xFF00BFFFDeepSkyBlueA system-defined color
0xFF00CED1DarkTurquoiseA system-defined color
0xFF00FA9AMediumSpringGreenA system-defined color
0xFF00FF00LimeA system-defined color
0xFF00FF7FSpringGreenA system-defined color
0xFF00FFFFCyanA system-defined color
0xFF00FFFFAquaA system-defined color
0xFF191970MidnightBlueA system-defined color
0xFF1E90FFDodgerBlueA system-defined color
0xFF20B2AALightSeaGreenA system-defined color
0xFF228B22ForestGreenA system-defined color
0xFF2E8B57SeaGreenA system-defined color
0xFF2F4F4FDarkSlateGrayA system-defined color
0xFF32CD32LimeGreenA system-defined color
0xFF3399FFHighlightA system-defined color
0xFF3CB371MediumSeaGreenA system-defined color
0xFF40E0D0TurquoiseA system-defined color
0xFF4169E1RoyalBlueA system-defined color
0xFF434E54InactiveCaptionTextA system-defined color
0xFF4682B4SteelBlueA system-defined color
0xFF483D8BDarkSlateBlueA system-defined color
0xFF48D1CCMediumTurquoiseA system-defined color
0xFF4B0082IndigoA system-defined color
0xFF556B2FDarkOliveGreenA system-defined color
0xFF5F9EA0CadetBlueA system-defined color
0xFF646464WindowFrameA system-defined color
0xFF6495EDCornflowerBlueA system-defined color
0xFF66CDAAMediumAquamarineA system-defined color
0xFF696969ThreeDDarkShadowA system-defined color
0xFF696969DimGrayA system-defined color
0xFF6A5ACDSlateBlueA system-defined color
0xFF6B8E23OliveDrabA system-defined color
0xFF6D6D6DGrayTextA system-defined color
0xFF708090SlateGrayA system-defined color
0xFF778899LightSlateGrayA system-defined color
0xFF7B68EEMediumSlateBlueA system-defined color
0xFF7CFC00LawnGreenA system-defined color
0xFF7FFF00ChartreuseA system-defined color
0xFF7FFFD4AquamarineA system-defined color
0xFF800000MaroonA system-defined color
0xFF800080PurpleA system-defined color
0xFF808000OliveA system-defined color
0xFF808080GrayA system-defined color
0xFF87CEEBSkyBlueA system-defined color
0xFF87CEFALightSkyBlueA system-defined color
0xFF8A2BE2BlueVioletA system-defined color
0xFF8B0000DarkRedA system-defined color
0xFF8B008BDarkMagentaA system-defined color
0xFF8B4513SaddleBrownA system-defined color
0xFF8FBC8FDarkSeaGreenA system-defined color
0xFF90EE90LightGreenA system-defined color
0xFF9370DBMediumPurpleA system-defined color
0xFF9400D3DarkVioletA system-defined color
0xFF98FB98PaleGreenA system-defined color
0xFF9932CCDarkOrchidA system-defined color
0xFF99B4D1ActiveCaptionA system-defined color
0xFF9ACD32YellowGreenA system-defined color
0xFFA0522DSiennaA system-defined color
0xFFA0A0A0ButtonShadowA system-defined color
0xFFA52A2ABrownA system-defined color
0xFFA9A9A9DarkGrayA system-defined color
0xFFABABABAppWorkspaceA system-defined color
0xFFADD8E6LightBlueA system-defined color
0xFFADFF2FGreenYellowA system-defined color
0xFFAFEEEEPaleTurquoiseA system-defined color
0xFFB0C4DELightSteelBlueA system-defined color
0xFFB0E0E6PowderBlueA system-defined color
0xFFB22222FirebrickA system-defined color
0xFFB4B4B4ActiveBorderA system-defined color
0xFFB8860BDarkGoldenrodA system-defined color
0xFFBA55D3MediumOrchidA system-defined color
0xFFBC8F8FRosyBrownA system-defined color
0xFFBDB76BDarkKhakiA system-defined color
0xFFBFCDDBInactiveCaptionA system-defined color
0xFFC0C0C0SilverA system-defined color
0xFFC71585MediumVioletRedA system-defined color
0xFFC8C8C8ScrollbarA system-defined color
0xFFCD5C5CIndianRedA system-defined color
0xFFCD853FPeruA system-defined color
0xFFD2691EChocolateA system-defined color
0xFFD2B48CTanA system-defined color
0xFFD3D3D3LightGrayA system-defined color
0xFFD8BFD8ThistleA system-defined color
0xFFDA70D6OrchidA system-defined color
0xFFDAA520GoldenrodA system-defined color
0xFFDB7093PaleVioletRedA system-defined color
0xFFDC143CCrimsonA system-defined color
0xFFDCDCDCGainsboroA system-defined color
0xFFDDA0DDPlumA system-defined color
0xFFDEB887BurlyWoodA system-defined color
0xFFE0FFFFLightCyanA system-defined color
0xFFE3E3E3ThreeDHighlightA system-defined color
0xFFE6E6FALavenderA system-defined color
0xFFE9967ADarkSalmonA system-defined color
0xFFEE82EEVioletA system-defined color
0xFFEEE8AAPaleGoldenrodA system-defined color
0xFFF08080LightCoralA system-defined color
0xFFF0E68CKhakiA system-defined color
0xFFF0F0F0WindowA system-defined color
0xFFF0F0F0ThreeDFaceA system-defined color
0xFFF0F0F0MenuA system-defined color
0xFFF0F0F0ButtonFaceA system-defined color
0xFFF0F8FFAliceBlueA system-defined color
0xFFF0FFF0HoneydewA system-defined color
0xFFF0FFFFAzureA system-defined color
0xFFF4A460SandyBrownA system-defined color
0xFFF4F7FCInactiveBorderA system-defined color
0xFFF5DEB3WheatA system-defined color
0xFFF5F5DCBeigeA system-defined color
0xFFF5F5F5WhiteSmokeA system-defined color
0xFFF5FFFAMintCreamA system-defined color
0xFFF8F8FFGhostWhiteA system-defined color
0xFFFA8072SalmonA system-defined color
0xFFFAEBD7AntiqueWhiteA system-defined color
0xFFFAF0E6LinenA system-defined color
0xFFFAFAD2LightGoldenrodYellowA system-defined color
0xFFFDF5E6OldLaceA system-defined color
0xFFFF0000RedA system-defined color
0xFFFF00FFMagentaA system-defined color
0xFFFF00FFFuchsiaA system-defined color
0xFFFF1493DeepPinkA system-defined color
0xFFFF4500OrangeRedA system-defined color
0xFFFF6347TomatoA system-defined color
0xFFFF69B4HotPinkA system-defined color
0xFFFF7F50CoralA system-defined color
0xFFFF8C00DarkOrangeA system-defined color
0xFFFFA07ALightSalmonA system-defined color
0xFFFFA500OrangeA system-defined color
0xFFFFB6C1LightPinkA system-defined color
0xFFFFC0CBPinkA system-defined color
0xFFFFD700GoldA system-defined color
0xFFFFDAB9PeachPuffA system-defined color
0xFFFFDEADNavajoWhiteA system-defined color
0xFFFFE4B5MoccasinA system-defined color
0xFFFFE4C4BisqueA system-defined color
0xFFFFE4E1MistyRoseA system-defined color
0xFFFFEBCDBlanchedAlmondA system-defined color
0xFFFFEFD5PapayaWhipA system-defined color
0xFFFFF0F5LavenderBlushA system-defined color
0xFFFFF5EESeaShellA system-defined color
0xFFFFF8DCCornsilkA system-defined color
0xFFFFFACDLemonChiffonA system-defined color
0xFFFFFAF0FloralWhiteA system-defined color
0xFFFFFAFASnowA system-defined color
0xFFFFFF00YellowA system-defined color
0xFFFFFFE0LightYellowA system-defined color
0xFFFFFFE1InfoBackgroundA system-defined color
0xFFFFFFF0IvoryA system-defined color
0xFFFFFFFFThreeDLightShadowA system-defined color
0xFFFFFFFFHighlightTextA system-defined color
0xFFFFFFFFButtonHighlightA system-defined color
0xFFFFFFFFWhiteA system-defined color
0xFF663399RebeccaPurpleA system-defined color
Remarks

You can use the RasterKnownColor enumeration to construct RasterColor objects from colors known by name.

Example
C#
Java
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()); 
} 
Requirements

Target Platforms

See Also

Reference

Leadtools Namespace

Help Version 23.0.2024.5.22
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.