System.UITypes.TColorRec
Inhaltsverzeichnis
Delphi
TColorRec = record
C++
struct DECLSPEC_DRECORD TColorRec
{
public:
static const unsigned SystemColor = unsigned(0xff000000);
static const System::Int8 cSCROLLBAR = System::Int8(0x0);
static const System::Int8 cBACKGROUND = System::Int8(0x1);
static const System::Int8 cACTIVECAPTION = System::Int8(0x2);
static const System::Int8 cINACTIVECAPTION = System::Int8(0x3);
static const System::Int8 cMENU = System::Int8(0x4);
static const System::Int8 cWINDOW = System::Int8(0x5);
static const System::Int8 cWINDOWFRAME = System::Int8(0x6);
static const System::Int8 cMENUTEXT = System::Int8(0x7);
static const System::Int8 cWINDOWTEXT = System::Int8(0x8);
static const System::Int8 cCAPTIONTEXT = System::Int8(0x9);
static const System::Int8 cACTIVEBORDER = System::Int8(0xa);
static const System::Int8 cINACTIVEBORDER = System::Int8(0xb);
static const System::Int8 cAPPWORKSPACE = System::Int8(0xc);
static const System::Int8 cHIGHLIGHT = System::Int8(0xd);
static const System::Int8 cHIGHLIGHTTEXT = System::Int8(0xe);
static const System::Int8 cBTNFACE = System::Int8(0xf);
static const System::Int8 cBTNSHADOW = System::Int8(0x10);
static const System::Int8 cGRAYTEXT = System::Int8(0x11);
static const System::Int8 cBTNTEXT = System::Int8(0x12);
static const System::Int8 cINACTIVECAPTIONTEXT = System::Int8(0x13);
static const System::Int8 cBTNHIGHLIGHT = System::Int8(0x14);
static const System::Int8 c3DDKSHADOW = System::Int8(0x15);
static const System::Int8 c3DLIGHT = System::Int8(0x16);
static const System::Int8 cINFOTEXT = System::Int8(0x17);
static const System::Int8 cINFOBK = System::Int8(0x18);
static const System::Int8 cHOTLIGHT = System::Int8(0x1a);
static const System::Int8 cGRADIENTACTIVECAPTION = System::Int8(0x1b);
static const System::Int8 cGRADIENTINACTIVECAPTION = System::Int8(0x1c);
static const System::Int8 cMENUHILIGHT = System::Int8(0x1d);
static const System::Int8 cMENUBAR = System::Int8(0x1e);
static const System::Int8 cENDCOLORS = System::Int8(0x1e);
static const System::Int8 cDESKTOP = System::Int8(0x1);
static const System::Int8 c3DFACE = System::Int8(0xf);
static const System::Int8 c3DSHADOW = System::Int8(0x10);
static const System::Int8 c3DHIGHLIGHT = System::Int8(0x14);
static const System::Int8 c3DHILIGHT = System::Int8(0x14);
static const System::Int8 cBTNHILIGHT = System::Int8(0x14);
static const TColor SysScrollBar = TColor(-16777216);
static const TColor SysBackground = TColor(-16777215);
static const TColor SysActiveCaption = TColor(-16777214);
static const TColor SysInactiveCaption = TColor(-16777213);
static const TColor SysMenu = TColor(-16777212);
static const TColor SysWindow = TColor(-16777211);
static const TColor SysWindowFrame = TColor(-16777210);
static const TColor SysMenuText = TColor(-16777209);
static const TColor SysWindowText = TColor(-16777208);
static const TColor SysCaptionText = TColor(-16777207);
static const TColor SysActiveBorder = TColor(-16777206);
static const TColor SysInactiveBorder = TColor(-16777205);
static const TColor SysAppWorkSpace = TColor(-16777204);
static const TColor SysHighlight = TColor(-16777203);
static const TColor SysHighlightText = TColor(-16777202);
static const TColor SysBtnFace = TColor(-16777201);
static const TColor SysBtnShadow = TColor(-16777200);
static const TColor SysGrayText = TColor(-16777199);
static const TColor SysBtnText = TColor(-16777198);
static const TColor SysInactiveCaptionText = TColor(-16777197);
static const TColor SysBtnHighlight = TColor(-16777196);
static const TColor Sys3DDkShadow = TColor(-16777195);
static const TColor Sys3DLight = TColor(-16777194);
static const TColor SysInfoText = TColor(-16777193);
static const TColor SysInfoBk = TColor(-16777192);
static const TColor SysHotLight = TColor(-16777190);
static const TColor SysGradientActiveCaption = TColor(-16777189);
static const TColor SysGradientInactiveCaption = TColor(-16777188);
static const TColor SysMenuHighlight = TColor(-16777187);
static const TColor SysMenuBar = TColor(-16777186);
static const TColor SysNone = TColor(536870911);
static const TColor SysDefault = TColor(536870912);
static const TColor Aliceblue = TColor(16775408);
static const TColor Antiquewhite = TColor(14150650);
static const TColor Aqua = TColor(16776960);
static const TColor Aquamarine = TColor(13959039);
static const TColor Azure = TColor(16777200);
static const TColor Beige = TColor(14480885);
static const TColor Bisque = TColor(12903679);
static const TColor Black = TColor(0);
static const TColor Blanchedalmond = TColor(13495295);
static const TColor Blue = TColor(16711680);
static const TColor Blueviolet = TColor(14822282);
static const TColor Brown = TColor(2763429);
static const TColor Burlywood = TColor(8894686);
static const TColor Cadetblue = TColor(10526303);
static const TColor Chartreuse = TColor(65407);
static const TColor Chocolate = TColor(1993170);
static const TColor Coral = TColor(5275647);
static const TColor Cornflowerblue = TColor(15570276);
static const TColor Cornsilk = TColor(14481663);
static const TColor Crimson = TColor(3937500);
static const TColor Cyan = TColor(16776960);
static const TColor Darkblue = TColor(9109504);
static const TColor Darkcyan = TColor(9145088);
static const TColor Darkgoldenrod = TColor(755384);
static const TColor Darkgray = TColor(11119017);
static const TColor Darkgreen = TColor(25600);
static const TColor Darkgrey = TColor(11119017);
static const TColor Darkkhaki = TColor(7059389);
static const TColor Darkmagenta = TColor(9109643);
static const TColor Darkolivegreen = TColor(3107669);
static const TColor Darkorange = TColor(36095);
static const TColor Darkorchid = TColor(13382297);
static const TColor Darkred = TColor(139);
static const TColor Darksalmon = TColor(8034025);
static const TColor Darkseagreen = TColor(9419919);
static const TColor Darkslateblue = TColor(9125192);
static const TColor Darkslategray = TColor(5197615);
static const TColor Darkslategrey = TColor(5197615);
static const TColor Darkturquoise = TColor(13749760);
static const TColor Darkviolet = TColor(13828244);
static const TColor Deeppink = TColor(9639167);
static const TColor Deepskyblue = TColor(16760576);
static const TColor Dimgray = TColor(6908265);
static const TColor Dimgrey = TColor(6908265);
static const TColor Dodgerblue = TColor(16748574);
static const TColor Firebrick = TColor(2237106);
static const TColor Floralwhite = TColor(15792895);
static const TColor Forestgreen = TColor(2263842);
static const TColor Fuchsia = TColor(16711935);
static const TColor Gainsboro = TColor(14474460);
static const TColor Ghostwhite = TColor(16775416);
static const TColor Gold = TColor(55295);
static const TColor Goldenrod = TColor(2139610);
static const TColor Gray = TColor(8421504);
static const TColor Green = TColor(32768);
static const TColor Greenyellow = TColor(3145645);
static const TColor Grey = TColor(8421504);
static const TColor Honeydew = TColor(15794160);
static const TColor Hotpink = TColor(11823615);
static const TColor Indianred = TColor(6053069);
static const TColor Indigo = TColor(8519755);
static const TColor Ivory = TColor(15794175);
static const TColor Khaki = TColor(9234160);
static const TColor Lavender = TColor(16443110);
static const TColor Lavenderblush = TColor(16118015);
static const TColor Lawngreen = TColor(64636);
static const TColor Lemonchiffon = TColor(13499135);
static const TColor Lightblue = TColor(15128749);
static const TColor Lightcoral = TColor(8421616);
static const TColor Lightcyan = TColor(16777184);
static const TColor Lightgoldenrodyellow = TColor(13826810);
static const TColor Lightgray = TColor(13882323);
static const TColor Lightgreen = TColor(9498256);
static const TColor Lightgrey = TColor(13882323);
static const TColor Lightpink = TColor(12695295);
static const TColor Lightsalmon = TColor(8036607);
static const TColor Lightseagreen = TColor(11186720);
static const TColor Lightskyblue = TColor(16436871);
static const TColor Lightslategray = TColor(10061943);
static const TColor Lightslategrey = TColor(10061943);
static const TColor Lightsteelblue = TColor(14599344);
static const TColor Lightyellow = TColor(14745599);
static const TColor LtGray = TColor(12632256);
static const TColor MedGray = TColor(10789024);
static const TColor DkGray = TColor(8421504);
static const TColor MoneyGreen = TColor(12639424);
static const TColor LegacySkyBlue = TColor(15780518);
static const TColor Cream = TColor(15793151);
static const TColor Lime = TColor(65280);
static const TColor Limegreen = TColor(3329330);
static const TColor Linen = TColor(15134970);
static const TColor Magenta = TColor(16711935);
static const TColor Maroon = TColor(128);
static const TColor Mediumaquamarine = TColor(11193702);
static const TColor Mediumblue = TColor(13434880);
static const TColor Mediumorchid = TColor(13850042);
static const TColor Mediumpurple = TColor(14381203);
static const TColor Mediumseagreen = TColor(7451452);
static const TColor Mediumslateblue = TColor(15624315);
static const TColor Mediumspringgreen = TColor(10156544);
static const TColor Mediumturquoise = TColor(13422920);
static const TColor Mediumvioletred = TColor(8721863);
static const TColor Midnightblue = TColor(7346457);
static const TColor Mintcream = TColor(16449525);
static const TColor Mistyrose = TColor(14804223);
static const TColor Moccasin = TColor(11920639);
static const TColor Navajowhite = TColor(11394815);
static const TColor Navy = TColor(8388608);
static const TColor Oldlace = TColor(15136253);
static const TColor Olive = TColor(32896);
static const TColor Olivedrab = TColor(2330219);
static const TColor Orange = TColor(42495);
static const TColor Orangered = TColor(17919);
static const TColor Orchid = TColor(14053594);
static const TColor Palegoldenrod = TColor(11200750);
static const TColor Palegreen = TColor(10025880);
static const TColor Paleturquoise = TColor(15658671);
static const TColor Palevioletred = TColor(9662683);
static const TColor Papayawhip = TColor(14020607);
static const TColor Peachpuff = TColor(12180223);
static const TColor Peru = TColor(4163021);
static const TColor Pink = TColor(13353215);
static const TColor Plum = TColor(14524637);
static const TColor Powderblue = TColor(15130800);
static const TColor Purple = TColor(8388736);
static const TColor Red = TColor(255);
static const TColor Rosybrown = TColor(9408444);
static const TColor Royalblue = TColor(14772545);
static const TColor Saddlebrown = TColor(1262987);
static const TColor Salmon = TColor(7504122);
static const TColor Sandybrown = TColor(6333684);
static const TColor Seagreen = TColor(5737262);
static const TColor Seashell = TColor(15660543);
static const TColor Sienna = TColor(2970272);
static const TColor Silver = TColor(12632256);
static const TColor Skyblue = TColor(15453831);
static const TColor Slateblue = TColor(13458026);
static const TColor Slategray = TColor(9470064);
static const TColor Slategrey = TColor(9470064);
static const TColor Snow = TColor(16448255);
static const TColor Springgreen = TColor(8388352);
static const TColor Steelblue = TColor(11829830);
static const TColor Tan = TColor(9221330);
static const TColor Teal = TColor(8421376);
static const TColor Thistle = TColor(14204888);
static const TColor Tomato = TColor(4678655);
static const TColor Turquoise = TColor(13688896);
static const TColor Violet = TColor(15631086);
static const TColor Wheat = TColor(11788021);
static const TColor White = TColor(16777215);
static const TColor Whitesmoke = TColor(16119285);
static const TColor Yellow = TColor(65535);
static const TColor Yellowgreen = TColor(3329434);
static const TColor Null = TColor(0);
static int __fastcall (*ColorToRGB)(TColor Color);
public:
union
{
struct
{
System::Byte R;
System::Byte G;
System::Byte B;
System::Byte A;
};
struct
{
System::Word HiWord;
System::Word LoWord;
};
struct
{
TColor Color;
};
};
};
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
record struct |
public | System.UITypes.pas System.UITypes.hpp |
System.UITypes | System.UITypes |
Beschreibung
TColorRec stellt den Zugriff auf den Record mit den Farbkanälen bereit.
Mit den Konstanten in TColorRec können Sie auf den Record mit den Farbkanälen für den Typ TColor zugreifen.
Die Tabelle Farben enthält Konstanten, die die Farben definieren. Diese Konstanten sind direkt der nächsten übereinstimmenden Farbe in der Systempalette zugeordnet (z.B. wird Blue Blau zugeordnet).
Die Tabelle Systemfarben enthält Konstanten, die die Systemfarben definieren. Diese Konstanten werden jetzt nur im VCL-Framework unterstützt. Mit dem Feld ColorToRGB dieses Records ermitteln Sie RGB-Farben für diese Konstanten. Zur Verwendung dieses Zeigers muss eine Funktion, die solche Konvertierungen bereitstellt, angegeben werden. Jetzt steht die Funktion Vcl.Graphics.ColorToRGB im VCL-Framework zur Verfügung, die einen TColor-Wert in eine RGB-Darstellung der Farbe konvertieren kann. Im FireMonkey-Framework können Sie eine entsprechende Funktion selbst bereitstellen.
Farben
TColorRec-Konstanten | Farben | A B G R |
---|---|---|
|
Aliceblue |
00 FF F8 F0 |
|
Antiquewhite |
00 D7 EB FA |
|
Aqua |
00 FF FF 00 |
|
Aquamarine |
00 D4 FF 7F |
|
Azure |
00 FF FF F0 |
|
Beige |
00 DC F5 F5 |
|
Bisque |
00 C4 E4 FF |
|
Black |
00 00 00 00 |
|
Blanchedalmond |
00 CD EB FF |
|
Blue |
00 FF 00 00 |
|
Blueviolet |
00 E2 2B 8A |
|
Brown |
00 2A 2A A5 |
|
Burlywood |
00 87 B8 DE |
|
Cadetblue |
00 A0 9E 5F |
|
Chartreuse |
00 00 FF 7F |
|
Chocolate |
00 1E 69 D2 |
|
Coral |
00 50 7F FF |
|
Cornflowerblue |
00 ED 95 64 |
|
Cornsilk |
00 DC F8 FF |
|
Crimson |
00 3C 14 DC |
|
Cyan |
00 FF FF 00 |
|
Darkblue |
00 8B 00 00 |
|
Darkcyan |
00 8B 8B 00 |
|
Darkgoldenrod |
00 0B 86 B8 |
|
Darkgray |
00 A9 A9 A9 |
|
Darkgreen |
00 00 64 00 |
|
Darkgrey |
00 A9 A9 A9 |
|
Darkkhaki |
00 6B B7 BD |
|
Darkmagenta |
00 8B 00 8B |
|
Darkolivegreen |
00 2F 6B 55 |
|
Darkorange |
00 00 8C FF |
|
Darkorchid |
00 CC 32 99 |
|
Darkred |
00 00 00 8B |
|
Darksalmon |
00 7A 96 E9 |
|
Darkseagreen |
00 8F BC 8F |
|
Darkslateblue |
00 8B 3D 48 |
|
Darkslategray |
00 4F 4F 2F |
|
Darkslategrey |
00 4F 4F 2F |
|
Darkturquoise |
00 D1 CE 00 |
|
Darkviolet |
00 D3 00 94 |
|
Deeppink |
00 93 14 FF |
|
Deepskyblue |
00 FF BF 00 |
|
Dimgray |
00 69 69 69 |
|
Dimgrey |
00 69 69 69 |
|
Dodgerblue |
00 FF 90 1E |
|
Firebrick |
00 22 22 B2 |
|
Floralwhite |
00 F0 FA FF |
|
Forestgreen |
00 22 8B 22 |
|
Fuchsia |
00 FF 00 FF |
|
Gainsboro |
FF DC DC DC |
|
Ghostwhite |
00 FF F8 F8 |
|
Gold |
00 00 D7 FF |
|
Goldenrod |
00 20 A5 DA |
|
Gray |
00 80 80 80 |
|
Green |
00 00 80 00 |
|
Greenyellow |
00 2F FF AD |
|
Grey |
00 80 80 80 |
|
Honeydew |
00 F0 FF F0 |
|
Hotpink |
00 B4 69 FF |
|
Indianred |
00 5C 5C CD |
|
Indigo |
00 82 00 4B |
|
Ivory |
00 F0 FF FF |
|
Khaki |
00 8C E6 F0 |
|
Lavender |
00 FA E6 E6 |
|
Lavenderblush |
00 F5 F0 FF |
|
Lawngreen |
00 00 FC 7C |
|
Lemonchiffon |
00 CD FA FF |
|
Lightblue |
00 E6 D8 AD |
|
Lightcoral |
00 80 80 F0 |
|
Lightcyan |
00 FF FF E0 |
|
Lightgoldenrodyellow |
00 D2 FA FA |
|
Lightgray |
00 D3 D3 D3 |
|
Lightgreen |
00 90 EE 90 |
|
Lightgrey |
00 D3 D3 D3 |
|
Lightpink |
00 C1 B6 FF |
|
Lightsalmon |
00 7A A0 FF |
|
Lightseagreen |
00 AA B2 20 |
|
Lightskyblue |
00 FA CE 87 |
|
Lightslategray |
00 99 88 77 |
|
Lightslategrey |
00 99 88 77 |
|
Lightsteelblue |
00 DE C4 B0 |
|
Lightyellow |
00 E0 FF FF |
|
LtGray |
00 C0 C0 C0 |
|
MedGray |
00 A4 A0 A0 |
|
DkGray |
00 80 80 80 |
|
MoneyGreen |
00 C0 DC C0 |
|
LegacySkyBlue |
00 F0 CA A6 |
|
Creme |
00 F0 FB FF |
|
Lime |
00 FF 00 00 |
|
Limegreen |
00 32 CD 32 |
|
Linen |
00 E6 F0 FA |
|
Magenta |
00 FF 00 FF |
|
Maroon |
00 00 00 80 |
|
Mediumaquamarine |
00 AA CD 66 |
|
Mediumblue |
00 CD 00 00 |
|
Mediumorchid |
00 D3 55 BA |
|
Mediumpurple |
00 DB 70 93 |
|
Mediumseagreen |
00 71 B3 3C |
|
Mediumslateblue |
00 EE 68 7B |
|
Mediumspringgreen |
00 9A FA 00 |
|
Mediumturquoise |
00 CC D1 48 |
|
Mediumvioletred |
00 85 15 C7 |
|
Midnightblue |
00 70 19 19 |
|
Mintcream |
00 FA FF F5 |
|
Mistyrose |
00 E1 E4 FF |
|
Moccasin |
00 B5 E4 FF |
|
Navajowhite |
00 AD DE FF |
|
Navy |
00 80 00 00 |
|
Oldlace |
00 E6 F5 FD |
|
Olive |
00 00 80 80 |
|
Olivedrab |
00 23 8E 6B |
|
Orange |
00 00 A5 FF |
|
Orangered |
00 00 45 FF |
|
Orchid |
00 D6 70 DA |
|
Palegoldenrod |
00 AA E8 EE |
|
Palegreen |
00 98 FB 98 |
|
Paleturquoise |
00 EE EE AF |
|
Palevioletred |
00 93 70 DB |
|
Papayawhip |
00 D5 EF FF |
|
Peachpuff |
00 B9 DA FF |
|
Peru |
00 3F 85 CD |
|
Pink |
00 CB C0 FF |
|
Plum |
00 DD A0 DD |
|
Powderblue |
00 E6 E0 B0 |
|
Purple |
00 80 00 80 |
|
Red |
00 00 00 FF |
|
Rosybrown |
00 8F 8F BC |
|
Royalblue |
00 E1 69 41 |
|
Saddlebrown |
00 13 45 8B |
|
Salmon |
00 72 80 FA |
|
Sandybrown |
00 60 A4 F4 |
|
Seagreen |
00 57 8B 2E |
|
Seashell |
00 EE F5 FF |
|
Sienna |
00 2D 52 A0 |
|
Silver |
00 C0 C0 C0 |
|
Skyblue |
00 EB CE 87 |
|
Slateblue |
00 CD 5A 6A |
|
Slategray |
00 90 80 70 |
|
Slategrey |
00 90 80 70 |
|
Snow |
00 FA FA FF |
|
Springgreen |
00 7F FF 00 |
|
Steelblue |
00 B4 82 46 |
|
Tan |
00 8C B4 D2 |
|
Teal |
00 80 80 00 |
|
Thistle |
00 D8 BF D8 |
|
Tomato |
00 47 63 FF |
|
Turquoise |
00 D0 E0 40 |
|
Violet |
00 EE 82 EE |
|
Wheat |
00 B3 DE F5 |
|
White |
00 FF FF FF |
|
Whitesmoke |
00 F5 F5 F5 |
|
Yellow |
00 00 FF FF |
|
Yellowgreen |
00 32 CD 9A |
|
Null |
00 00 00 00 |
Systemfarben
TColorRec-Konstanten | Integerwert | Standardfarbe in Windows 7 |
---|---|---|
|
|
Die Farbe des Hintergrunds einer Bildlaufleiste. |
|
|
Die aktuelle Hintergrundfarbe des Desktops. |
|
|
Die Hintergrundfarbe der Titelleiste des aktiven Fensters. |
|
|
Die Hintergrundfarbe der Titelleiste eines inaktiven Fensters. |
|
|
Die aktuelle Hintergrundfarbe von Menüs. |
|
|
Die aktuelle Hintergrundfarbe im Client-Bereich von Fenstern. |
|
|
Die aktuelle Farbe eines Fensterrahmens. |
|
|
Die aktuelle Farbe von Menütext. |
|
|
Die aktuelle Textfarbe im Client-Bereich eines Fensters. |
|
|
Die aktuelle Textfarbe in der Titelleiste des aktiven Fensters. |
|
|
Die aktuelle Rahmenfarbe des aktiven Fensters. |
|
|
Die aktuelle Rahmenfarbe eines inaktiven Fensters. |
|
|
Die aktuelle Farbe des Arbeitsbereichs einer Anwendung. |
|
|
Die aktuelle Hintergrundfarbe von ausgewählten Elementen. |
|
|
Die aktuelle Textfarbe von ausgewählten Elementen. |
|
|
Die aktuelle Farbe der Oberseite einer Schaltfläche. |
|
|
Die aktuelle Farbe des Schattens einer Schaltfläche. |
|
|
Die aktuelle Farbe von abgedunkeltem Text. |
|
|
Die aktuelle Farbe von Schaltflächentext. |
|
|
Die aktuelle Textfarbe in der Titelleiste eines inaktiven Fensters. |
|
|
Die aktuelle Farbe für die Hervorhebung einer Schaltfläche. |
|
|
Die aktuelle Farbe des dunklen Schattens für dreidimensionale Anzeigeelemente. |
|
|
Die aktuelle Farbe des hellen Schattens für dreidimensionale Anzeigeelemente (für der Lichtquelle gegenüberliegende Ränder). |
|
|
Die aktuelle Textfarbe eines Kurzhinweises. |
|
|
Die aktuelle Hintergrundfarbe für ToolTip-Steuerelemente (Kurzhinweise). |
|
|
Die aktuelle Farbe zur Kennzeichnung von gehoverten Elementen. |
|
|
Die aktuell hellste Farbe des Verlaufs der Titelleiste eines aktiven Fensters. SysActiveCaption ist die dunkelste Farbe des Verlaufs der Titelleiste eines aktiven Fensters. |
|
|
Die aktuell hellste Farbe des Verlaufs der Titelleiste eines inaktiven Fensters. SysInactiveCaption ist die dunkelste Farbe des Verlaufs der Titelleiste eines inaktiven Fensters. |
|
|
Die aktuelle Farbe zum Hervorheben von Menüeinträgen, wenn das Menü als lineares Menü angezeigt wird. |
|
|
Die aktuelle Farbe des Hintergrunds einer Menüleiste. |
|
|
Das |
|
|
Keine Farbe zum Ausfüllen des Hintergrunds eines Elements verwenden. |
|
|
Die Standardfarbe zum Ausfüllen eines bestimmten Elementtyps. |