System.UITypes.TColorRec

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

  TColorRec = record
  const
    SystemColor = $FF000000;
    cSCROLLBAR = 0;
    cBACKGROUND = 1;
    cACTIVECAPTION = 2;
    cINACTIVECAPTION = 3;
    cMENU = 4;
    cWINDOW = 5;
    cWINDOWFRAME = 6;
    cMENUTEXT = 7;
    cWINDOWTEXT = 8;
    cCAPTIONTEXT = 9;
    cACTIVEBORDER = 10;
    cINACTIVEBORDER = 11;
    cAPPWORKSPACE = 12;
    cHIGHLIGHT = 13;
    cHIGHLIGHTTEXT = 14;
    cBTNFACE = 15;
    cBTNSHADOW = $10;
    cGRAYTEXT = 17;
    cBTNTEXT = 18;
    cINACTIVECAPTIONTEXT = 19;
    cBTNHIGHLIGHT = 20;
    c3DDKSHADOW = 21;
    c3DLIGHT = 22;
    cINFOTEXT = 23;
    cINFOBK = 24;
    cHOTLIGHT = 26;
    cGRADIENTACTIVECAPTION = 27;
    cGRADIENTINACTIVECAPTION = 28;
    cMENUHILIGHT = 29;
    cMENUBAR = 30;
    cENDCOLORS = cMENUBAR;
    cDESKTOP = cBACKGROUND;
    c3DFACE = cBTNFACE;
    c3DSHADOW = cBTNSHADOW;
    c3DHIGHLIGHT = cBTNHIGHLIGHT;
    c3DHILIGHT = cBTNHIGHLIGHT;
    cBTNHILIGHT = cBTNHIGHLIGHT;
    SysScrollBar = TColor(SystemColor or cSCROLLBAR);
    SysBackground = TColor(SystemColor or cBACKGROUND);
    SysActiveCaption = TColor(SystemColor or cACTIVECAPTION);
    SysInactiveCaption = TColor(SystemColor or cINACTIVECAPTION);
    SysMenu = TColor(SystemColor or cMENU);
    SysWindow = TColor(SystemColor or cWINDOW);
    SysWindowFrame = TColor(SystemColor or cWINDOWFRAME);
    SysMenuText = TColor(SystemColor or cMENUTEXT);
    SysWindowText = TColor(SystemColor or cWINDOWTEXT);
    SysCaptionText = TColor(SystemColor or cCAPTIONTEXT);
    SysActiveBorder = TColor(SystemColor or cACTIVEBORDER);
    SysInactiveBorder = TColor(SystemColor or cINACTIVEBORDER);
    SysAppWorkSpace = TColor(SystemColor or cAPPWORKSPACE);
    SysHighlight = TColor(SystemColor or cHIGHLIGHT);
    SysHighlightText = TColor(SystemColor or cHIGHLIGHTTEXT);
    SysBtnFace = TColor(SystemColor or cBTNFACE);
    SysBtnShadow = TColor(SystemColor or cBTNSHADOW);
    SysGrayText = TColor(SystemColor or cGRAYTEXT);
    SysBtnText = TColor(SystemColor or cBTNTEXT);
    SysInactiveCaptionText = TColor(SystemColor or cINACTIVECAPTIONTEXT);
    SysBtnHighlight = TColor(SystemColor or cBTNHIGHLIGHT);
    Sys3DDkShadow = TColor(SystemColor or c3DDKSHADOW);
    Sys3DLight = TColor(SystemColor or c3DLIGHT);
    SysInfoText = TColor(SystemColor or cINFOTEXT);
    SysInfoBk = TColor(SystemColor or cINFOBK);
    SysHotLight = TColor(SystemColor or cHOTLIGHT);
    SysGradientActiveCaption = TColor(SystemColor or cGRADIENTACTIVECAPTION);
    SysGradientInactiveCaption = TColor(SystemColor or cGRADIENTINACTIVECAPTION);
    SysMenuHighlight = TColor(SystemColor or cMENUHILIGHT);
    SysMenuBar = TColor(SystemColor or cMENUBAR);
    SysNone = TColor($1FFFFFFF);
    SysDefault = TColor($20000000);
    Aliceblue = TColor($FFF8F0);
    Antiquewhite = TColor($D7EBFA);
    Aqua = TColor($FFFF00);
    Aquamarine = TColor($D4FF7F);
    Azure = TColor($FFFFF0);
    Beige = TColor($DCF5F5);
    Bisque = TColor($C4E4FF);
    Black = TColor($000000);
    Blanchedalmond = TColor($CDEBFF);
    Blue = TColor($FF0000);
    Blueviolet = TColor($E22B8A);
    Brown = TColor($2A2AA5);
    Burlywood = TColor($87B8DE);
    Cadetblue = TColor($A09E5F);
    Chartreuse = TColor($00FF7F);
    Chocolate = TColor($1E69D2);
    Coral = TColor($507FFF);
    Cornflowerblue = TColor($ED9564);
    Cornsilk = TColor($DCF8FF);
    Crimson = TColor($3C14DC);
    Cyan = TColor($FFFF00);
    Darkblue = TColor($8B0000);
    Darkcyan = TColor($8B8B00);
    Darkgoldenrod = TColor($0B86B8);
    Darkgray = TColor($A9A9A9);
    Darkgreen = TColor($006400);
    Darkgrey = TColor($A9A9A9);
    Darkkhaki = TColor($6BB7BD);
    Darkmagenta = TColor($8B008B);
    Darkolivegreen = TColor($2F6B55);
    Darkorange = TColor($008CFF);
    Darkorchid = TColor($CC3299);
    Darkred = TColor($00008B);
    Darksalmon = TColor($7A96E9);
    Darkseagreen = TColor($8FBC8F);
    Darkslateblue = TColor($8B3D48);
    Darkslategray = TColor($4F4F2F);
    Darkslategrey = TColor($4F4F2F);
    Darkturquoise = TColor($D1CE00);
    Darkviolet = TColor($D30094);
    Deeppink = TColor($9314FF);
    Deepskyblue = TColor($FFBF00);
    Dimgray = TColor($696969);
    Dimgrey = TColor($696969);
    Dodgerblue = TColor($FF901E);
    Firebrick = TColor($2222B2);
    Floralwhite = TColor($F0FAFF);
    Forestgreen = TColor($228B22);
    Fuchsia = TColor($FF00FF);
    Gainsboro = TColor($DCDCDC);
    Ghostwhite = TColor($FFF8F8);
    Gold = TColor($00D7FF);
    Goldenrod = TColor($20A5DA);
    Gray = TColor($808080);
    Green = TColor($008000);
    Greenyellow = TColor($2FFFAD);
    Grey = TColor($808080);
    Honeydew = TColor($F0FFF0);
    Hotpink = TColor($B469FF);
    Indianred = TColor($5C5CCD);
    Indigo = TColor($82004B);
    Ivory = TColor($F0FFFF);
    Khaki = TColor($8CE6F0);
    Lavender = TColor($FAE6E6);
    Lavenderblush = TColor($F5F0FF);
    Lawngreen = TColor($00FC7C);
    Lemonchiffon = TColor($CDFAFF);
    Lightblue = TColor($E6D8AD);
    Lightcoral = TColor($8080F0);
    Lightcyan = TColor($FFFFE0);
    Lightgoldenrodyellow = TColor($D2FAFA);
    Lightgray = TColor($D3D3D3);
    Lightgreen = TColor($90EE90);
    Lightgrey = TColor($D3D3D3);
    Lightpink = TColor($C1B6FF);
    Lightsalmon = TColor($7AA0FF);
    Lightseagreen = TColor($AAB220);
    Lightskyblue = TColor($FACE87);
    Lightslategray = TColor($998877);
    Lightslategrey = TColor($998877);
    Lightsteelblue = TColor($DEC4B0);
    Lightyellow = TColor($E0FFFF);
    LtGray = TColor($C0C0C0);
    MedGray = TColor($A4A0A0);
    DkGray = TColor($808080);
    MoneyGreen = TColor($C0DCC0);
    LegacySkyBlue = TColor($F0CAA6);
    Cream = TColor($F0FBFF);
    Lime = TColor($00FF00);
    Limegreen = TColor($32CD32);
    Linen = TColor($E6F0FA);
    Magenta = TColor($FF00FF);
    Maroon = TColor($000080);
    Mediumaquamarine = TColor($AACD66);
    Mediumblue = TColor($CD0000);
    Mediumorchid = TColor($D355BA);
    Mediumpurple = TColor($DB7093);
    Mediumseagreen = TColor($71B33C);
    Mediumslateblue = TColor($EE687B);
    Mediumspringgreen = TColor($9AFA00);
    Mediumturquoise = TColor($CCD148);
    Mediumvioletred = TColor($8515C7);
    Midnightblue = TColor($701919);
    Mintcream = TColor($FAFFF5);
    Mistyrose = TColor($E1E4FF);
    Moccasin = TColor($B5E4FF);
    Navajowhite = TColor($ADDEFF);
    Navy = TColor($800000);
    Oldlace = TColor($E6F5FD);
    Olive = TColor($008080);
    Olivedrab = TColor($238E6B);
    Orange = TColor($00A5FF);
    Orangered = TColor($0045FF);
    Orchid = TColor($D670DA);
    Palegoldenrod = TColor($AAE8EE);
    Palegreen = TColor($98FB98);
    Paleturquoise = TColor($EEEEAF);
    Palevioletred = TColor($9370DB);
    Papayawhip = TColor($D5EFFF);
    Peachpuff = TColor($B9DAFF);
    Peru = TColor($3F85CD);
    Pink = TColor($CBC0FF);
    Plum = TColor($DDA0DD);
    Powderblue = TColor($E6E0B0);
    Purple = TColor($800080);
    Red = TColor($0000FF);
    Rosybrown = TColor($8F8FBC);
    Royalblue = TColor($E16941);
    Saddlebrown = TColor($13458B);
    Salmon = TColor($7280FA);
    Sandybrown = TColor($60A4F4);
    Seagreen = TColor($578B2E);
    Seashell = TColor($EEF5FF);
    Sienna = TColor($2D52A0);
    Silver = TColor($C0C0C0);
    Skyblue = TColor($EBCE87);
    Slateblue = TColor($CD5A6A);
    Slategray = TColor($908070);
    Slategrey = TColor($908070);
    Snow = TColor($FAFAFF);
    Springgreen = TColor($7FFF00);
    Steelblue = TColor($B48246);
    Tan = TColor($8CB4D2);
    Teal = TColor($808000);
    Thistle = TColor($D8BFD8);
    Tomato = TColor($4763FF);
    Turquoise = TColor($D0E040);
    Violet = TColor($EE82EE);
    Wheat = TColor($B3DEF5);
    White = TColor($FFFFFF);
    Whitesmoke = TColor($F5F5F5);
    Yellow = TColor($00FFFF);
    Yellowgreen = TColor($32CD9A);
    Null = TColor($00000000);
    class var ColorToRGB: function (Color: TColor): Longint;
{    class operator Implicit(const C: TColor): TColorRec; inline;
    class operator Implicit(const C: TColorRec): TColor; inline;
    class operator Implicit(const C: TColorRec): Longint; inline;
    class operator Explicit(const C: TColorRec): Longint; inline;}
    case Cardinal of
      0:
        (Color: TColor);
      2:
        (HiWord, LoWord: Word);
      3:
{$IFDEF BIGENDIAN}
        (A, B, G, R: System.Byte);
{$ELSE}
        (R, G, B, A: System.Byte);
{$ENDIF}
  end;

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;
        };
    };
};

Propriétés

Type Visibilité  Source Unité  Parent
record
struct
public
System.UITypes.pas
System.UITypes.hpp
System.UITypes System.UITypes

Description

TColorRec fournit un accès à l'enregistrement des canaux de couleurs.

Utilisez les constantes de TColorRec afin d'obtenir l'accès à l'enregistrement des canaux de couleurs pour le type TColor.

Le tableau Couleurs montre les constantes définissant les couleurs réelles. Ces constantes sont mappées directement sur la couleur correspondante la plus proche dans la palette système (par exemple, la constante Blue est mappée sur bleu).

Le tableau Couleurs système montre les constantes définissant les couleurs système. Ces constantes sont maintenant uniquement supportées sous le framework VCL. Pour obtenir les couleurs RVB pour ces constantes, utilisez le champ ColorToRGB de cet enregistrement. Pour utiliser ce pointeur, une fonction réelle fournissant une telle conversion doit être spécifiée. Nous fournissons maintenant la fonction Vcl.Graphics.ColorToRGB -- sous le framework VCL -- qui fournit la conversion d'une valeur TColor en une représentation RVB de la couleur. Sous le framework FireMonkey vous pouvez fournir vous-même une telle fonction.

Couleurs

Constantes TColorRec Couleurs A B V R

Aliceblue

Bleu Alice

00 FF F8 F0

Antiquewhite

Blanc antique

00 D7 EB FA

Aqua

Aqua

00 FF FF 00

Aquamarine

Aquamarine

00 D4 FF 7F

Azure

Azure

00 FF FF F0

Beige

Beige

00 DC F5 F5

Bisque

Bisque

00 C4 E4 FF

Black

Noir

00 00 00 00

Blanchedalmond

Amande blanche

00 CD EB FF

Blue

Bleu

00 FF 00 00

Blueviolet

Bleu violet

00 E2 2B 8A

Brown

Marron

00 2A 2A A5

Burlywood

Bois brut

00 87 B8 DE

Cadetblue

Bleu uniforme

00 A0 9E 5F

Chartreuse

Chartreuse

00 00 FF 7F

Chocolate

Chocolat

00 1E 69 D2

Coral

Corail

00 50 7F FF

Cornflowerblue

Bleu fleur de maïs

00 ED 95 64

Cornsilk

Jaune maïs doux

00 DC F8 FF

Crimson

Pourpre

00 3C 14 DC

Cyan

Cyan

00 FF FF 00

Darkblue

Bleu foncé

00 8B 00 00

Darkcyan

Cyan foncé

00 8B 8B 00

Darkgoldenrod

Jaune paille foncé

00 0B 86 B8

Darkgray

Gris foncé

00 A9 A9 A9

Darkgreen

Vert foncé

00 00 64 00

Darkgrey

Gris foncé

00 A9 A9 A9

Darkkhaki

Kaki foncé

00 6B B7 BD

Darkmagenta

Magenta foncé

00 8B 00 8B

Darkolivegreen

Vert olive foncé

00 2F 6B 55

Darkorange

Orange foncé

00 00 8C FF

Darkorchid

Orchidée foncé

00 CC 32 99

Darkred

Rouge foncé

00 00 00 8B

Darksalmon

Saumon foncé

00 7A 96 E9

Darkseagreen

Vert océan foncé

00 8F BC 8F

Darkslateblue

Bleu ardoise foncé

00 8B 3D 48

Darkslategray

Gris ardoise foncé

00 4F 4F 2F

Darkslategrey

Gris ardoise foncé

00 4F 4F 2F

Darkturquoise

Turquoise foncé

00 D1 CE 00

Darkviolet

Parme foncé

00 D3 00 94

Deeppink

Rose profond

00 93 14 FF

Deepskyblue

Bleu ciel profond

00 FF BF 00

Dimgray

Gris pâle

00 69 69 69

Dimgrey

Gris pâle

00 69 69 69

Dodgerblue

Bleuté

00 FF 90 1E

Firebrick

Rouge brique

00 22 22 B2

Floralwhite

Blanc floral

00 F0 FA FF

Forestgreen

Vert forêt

00 22 8B 22

Fuchsia

Fuchsia

00 FF 00 FF

Gainsboro

Gainsboro

00 DC DC DC

Ghostwhite

Blanc spectral

00 FF F8 F8

Gold

Or

00 00 D7 FF

Goldenrod

Verge d'or

00 20 A5 DA

Gray

Gris

00 80 80 80

Green

Vert

00 00 80 00

Greenyellow

Jaune-vert

00 2F FF AD

Grey

Gris

00 80 80 80

Honeydew

Miellé

00 F0 FF F0

Hotpink

Rose chaud

00 B4 69 FF

Indianred

Rouge indien

00 5C 5C CD

Indigo

Indigo

00 82 00 4B

Ivory

Ivoire

00 F0 FF FF

Khaki

Kaki

00 8C E6 F0

Lavender

Lavande

00 FA E6 E6

Lavenderblush

Lavande rougeâtre

00 F5 F0 FF

Lawngreen

Vert prairie

00 00 FC 7C

Lemonchiffon

Jaune chiffonné

00 CD FA FF

Lightblue

Bleu clair

00 E6 D8 AD

Lightcoral

Corail clair

00 80 80 F0

Lightcyan

Cyan clair

00 FF FF E0

Lightgoldenrodyellow

Jaune paille clair

00 D2 FA FA

Lightgray

Gris clair

00 D3 D3 D3

Lightgreen

Vert clair

00 90 EE 90

Lightgrey

Gris clair

00 D3 D3 D3

Lightpink

Rose clair

00 C1 B6 FF

Lightsalmon

Saumon clair

00 7A A0 FF

Lightseagreen

Vert océan clair

00 AA B2 20

Lightskyblue

Bleu ciel clair

00 FA CE 87

Lightslategray

Gris ardoise clair

00 99 88 77

Lightslategrey

Gris ardoise clair

00 99 88 77

Lightsteelblue

Bleu acier clair

00 DE C4 B0

Lightyellow

Jaune clair

00 E0 FF FF

LtGray

Gris léger

00 C0 C0 C0

MedGray

Gris moyen

00 A4 A0 A0

DkGray

Gris sombre

00 80 80 80

MoneyGreen

Vert argenté

00 C0 DC C0

LegacySkyBlue

Bleu ciel

00 F0 CA A6

Cream

Crème

00 F0 FB FF

Lime

Citron vert

00 00 FF 00

Limegreen

Citron vert foncé

00 32 CD 32

Linen

Lin

00 E6 F0 FA

Magenta

Magenta

00 FF 00 FF

Maroon

Rouge foncé

00 00 00 80

Mediumaquamarine

Aigue-marine moyen

00 AA CD 66

Mediumblue

Bleu moyen

00 CD 00 00

Mediumorchid

Orchidée moyen

00 D3 55 BA

Mediumpurple

Pourpre moyen

00 DB 70 93

Mediumseagreen

Vert océan moyen

00 71 B3 3C

Mediumslateblue

Bleu ardoise moyen

00 EE 68 7B

Mediumspringgreen

Vert printemps moyen

00 9A FA 00

Mediumturquoise

Turquoise moyen

00 CC D1 48

Mediumvioletred

Rouge violacé moyen

00 85 15 C7

Midnightblue

Bleu nuit

00 70 19 19

Mintcream

Blanc mentholé

00 FA FF F5

Mistyrose

Rose voilé

00 E1 E4 FF

Moccasin

Beige mocassin

00 B5 E4 FF

Navajowhite

Blanc navarro

00 AD DE FF

Navy

Bleu foncé

00 80 00 00

Oldlace

Vieux blanc

00 E6 F5 FD

Olive

Olive

00 00 80 80

Olivedrab

Vert olive terne

00 23 8E 6B

Orange

Orange

00 00 A5 FF

Orangered

Rouge orangé

00 00 45 FF

Orchid

Orchidée

00 D6 70 DA

Palegoldenrod

Jaune paille pâle

00 AA E8 EE

Palegreen

Vert pâle

00 98 FB 98

Paleturquoise

Turquoise pâle

00 EE EE AF

Palevioletred

Rouge violacé pâle

00 93 70 DB

Papayawhip

Papaye délavé

00 D5 EF FF

Peachpuff

Pêche passé

00 B9 DA FF

Peru

Pérou

00 3F 85 CD

Pink

Rose

00 CB C0 FF

Plum

Prune

00 DD A0 DD

Powderblue

Bleu poudré

00 E6 E0 B0

Purple

Violet

00 80 00 80

Red

Rouge

00 00 00 FF

Rosybrown

Bois de rose

00 8F 8F BC

Royalblue

Bleu roi

00 E1 69 41

Saddlebrown

Cuir

00 13 45 8B

Salmon

Saumon

00 72 80 FA

Sandybrown

Brun sable

00 60 A4 F4

Seagreen

Vert océan

00 57 8B 2E

Seashell

Coquillage

00 EE F5 FF

Sienna

Sienne

00 2D 52 A0

Silver

Argent

00 C0 C0 C0

Skyblue

Bleu ciel

00 EB CE 87

Slateblue

Bleu ardoise

00 CD 5A 6A

Slategray

Gris ardoise

00 90 80 70

Slategrey

Gris ardoise

00 90 80 70

Snow

Neige

00 FA FA FF

Springgreen

Vert printemps

00 7F FF 00

Steelblue

Bleu acier

00 B4 82 46

Tan

Brun tanné

00 8C B4 D2

Teal

Bleu-vert

00 80 80 00

Thistle

Chardon

00 D8 BF D8

Tomato

Tomate

00 47 63 FF

Turquoise

Turquoise

00 D0 E0 40

Violet

Violet

00 EE 82 EE

Wheat

Blé

00 B3 DE F5

White

Blanc

00 FF FF FF

Whitesmoke

Blanc fumée

00 F5 F5 F5

Yellow

Jaune

00 00 FF FF

Yellowgreen

Vert jaunâtre

00 32 CD 9A

Null

Null

00 00 00 00

Couleurs système

Constantes TColorRec Valeur entière Couleurs par défaut sous Windows 7

SysScrollBar

FF 00 00 00

La couleur de l'arrière-plan d'une barre de défilement.

SysBackground

FF 00 00 01

La couleur d'arrière-plan en cours du bureau.

SysActiveCaption

FF 00 00 02

La couleur d'arrière-plan de la barre de titre de la fenêtre active.

SysInactiveCaption

FF 00 00 03

La couleur d'arrière-plan de la barre de titre d'une fenêtre inactive.

SysMenu

FF 00 00 04

La couleur d'arrière-plan en cours des menus.

SysWindow

FF 00 00 05

La couleur en cours de l'arrière-plan dans la zone client de Windows.

SysWindowFrame

FF 00 00 06

La couleur en cours d'un cadre de fenêtre.

SysMenuText

FF 00 00 07

La couleur en cours du texte d'un menu.

SysWindowText

FF 00 00 08

La couleur en cours du texte dans la zone client d'une fenêtre.

SysCaptionText

FF 00 00 09

La couleur en cours du texte sur la barre de titre de la fenêtre active.

SysActiveBorder

FF 00 00 0A

La couleur en cours de la bordure de la fenêtre active.

SysInactiveBorder

FF 00 00 0B

La couleur en cours de la bordure d'une fenêtre inactive.

SysAppWorkSpace

FF 00 00 0C

La couleur en cours de l'espace de travail de l'application.

SysHighlight

FF 00 00 0D

La couleur en cours de l'arrière-plan des éléments sélectionnés.

SysHighlightText

FF 00 00 0E

La couleur en cours du texte des éléments sélectionnés.

SysBtnFace

FF 00 00 0F

La couleur en cours de la face d'un bouton.

SysBtnShadow

FF 00 00 10

La couleur en cours de l'ombre d'un bouton.

SysGrayText

FF 00 00 11

La couleur en cours d'un texte estompé.

SysBtnText

FF 00 00 12

La couleur en cours du texte d'un bouton.

SysInactiveCaptionText

FF 00 00 13

La couleur en cours du texte dans une barre de titre d'une fenêtre inactive.

SysBtnHighlight

FF 00 00 14

La couleur en cours de la surbrillance sur un bouton.

Sys3DDkShadow

FF 00 00 15

La couleur en cours de l'ombre foncée pour les éléments d'affichage en trois dimensions.

Sys3DLight

FF 00 00 16

La couleur en cours de la couleur claire pour les éléments d'affichage en trois dimensions (pour les côtés face à la source de lumière).

SysInfoText

FF 00 00 17

La couleur en cours du texte d'une info-bulle.

SysInfoBk

FF 00 00 18

La couleur d'arrière-plan en cours des contrôles infos-bulles.

SysHotLight

FF 00 00 1A

La couleur en cours utilisée pour désigner un élément suivi attentivement.

SysGradientActiveCaption

FF 00 00 1B

La couleur la plus claire en cours dans le dégradé de couleur de la barre de titre de la fenêtre active. Voir SysActiveCaption pour la couleur la plus foncée dans le dégradé de couleur de la barre de titre de la fenêtre active.

SysGradientInactiveCaption

FF 00 00 1C

La couleur la plus claire en cours dans le dégradé de couleur de la barre de titre d'une fenêtre inactive. Voir SysInactiveCaption pour la couleur la plus foncée dans le dégradé de couleur de la barre de titre d'une fenêtre inactive.

SysMenuHighlight

FF 00 00 1D

La couleur en cours utilisée pour mettre en surbrillance les éléments de menu quand le menu apparaît sous la forme d'un menu plat.

SysMenuBar

FF 00 00 1E

La couleur en cours de l'arrière-plan d'une barre de menu.

SystemColor

FF 00 00 00

L'octet FF de masque pour désigner les couleurs système.

SysNone

1F FF FF FF

Ne pas utiliser de couleur pour remplir l'arrière-plan d'un élément.

SysDefault

20 00 00 00

La couleur par défaut pour remplir le type particulier des éléments.


Voir aussi