Couleurs dans FireMonkey
Remonter à Guide des applications FireMonkey
L'unité System.UITypes contient la définition de constantes TAlphaColor et TAlphaColorRec utiles. Ces constantes renvoient directement à la couleur correspondante la plus proche dans la palette du système (par exemple, la constante Blue
renvoie à la couleur bleue).
TAlphaColor est formé de quatre canaux (ARGB) spécifiés sous la forme d'un nombre hexadécimal de 4 octets. Les trois derniers octets représentent respectivement l'intensité des canaux de couleur RVB bleu, vert et rouge, et le premier octet correspond au coefficient de transparence (canal Alpha).
Le tableau ci-dessous présente certaines couleurs de TAlphaColorRec dans Delphi et C++Builder :
Couleur | Couleur dans Delphi | Couleur dans C++Builder |
---|---|---|
Bleu |
|
|
Vert |
|
|
Rouge |
|
|
Noir |
|
|
Blanc |
|
|
Couleurs de TAlphaColorRec
Constantes TAlphaColorRec | Couleurs | A R G B |
---|---|---|
|
Aliceblue |
FF F0 F8 FF |
|
Antiquewhite |
FF FA EB D7 |
|
Aqua |
FF 00 FF FF |
|
Aquamarine |
FF 7F FF D4 |
|
Azure |
FF F0 FF FF |
|
Beige |
FF F5 F5 DC |
|
Bisque |
FF FF E4 C4 |
|
Noir |
FF 00 00 00 |
|
Blanchedalmond |
FF FF EB CD |
|
Bleu |
FF 00 00 FF |
|
Blueviolet |
FF 8A 2B E2 |
|
Brown |
FF A5 2A 2A |
|
Burlywood |
FF DE B8 87 |
|
Cadetblue |
FF 5F 9E A0 |
|
Chartreuse |
FF 7F FF 00 |
|
Chocolate |
FF D2 69 1E |
|
Coral |
FF FF 7F 50 |
|
Cornflowerblue |
FF 64 95 ED |
|
Cornsilk |
FF FF F8 DC |
|
Crimson |
FF DC 14 3C |
|
Cyan |
FF 00 FF FF |
|
Darkblue |
FF 00 00 8B |
|
Darkcyan |
FF 00 8B 8B |
|
Darkgoldenrod |
FF B8 86 0B |
|
Darkgray |
FF A9 A9 A9 |
|
Darkgreen |
FF 00 64 00 |
|
Darkgrey |
FF A9 A9 A9 |
|
Darkkhaki |
FF BD B7 6B |
|
Darkmagenta |
FF 8B 00 8B |
|
Darkolivegreen |
FF 55 6B 2F |
|
Darkorange |
FF FF 8C 00 |
|
Darkorchid |
FF 99 32 CC |
|
Darkred |
FF 8B 00 00 |
|
Darksalmon |
FF E9 96 7A |
|
Darkseagreen |
FF 8F BC 8F |
|
Darkslateblue |
FF 48 3D 8B |
|
Darkslategray |
FF 2F 4F 4F |
|
Darkslategrey |
FF 2F 4F 4F |
|
Darkturquoise |
FF 00 CE D1 |
|
Darkviolet |
FF 94 00 D3 |
|
Deeppink |
FF FF 14 93 |
|
Deepskyblue |
FF 00 BF FF |
|
Dimgray |
FF 69 69 69 |
|
Dimgrey |
FF 69 69 69 |
|
Dodgerblue |
FF 1E 90 FF |
|
Firebrick |
FF B2 22 22 |
|
Floralwhite |
FF FF FA F0 |
|
Forestgreen |
FF 22 8B 22 |
|
Fuchsia |
FF FF 00 FF |
|
Gainsboro |
FF DC DC DC |
|
Ghostwhite |
FF F8 F8 FF |
|
Gold |
FF FF D7 00 |
|
Goldenrod |
FF DA A5 20 |
|
Gray |
FF 80 80 80 |
|
Vert |
FF 00 80 00 |
|
Greenyellow |
FF AD FF 2F |
|
Grey |
FF 80 80 80 |
|
Honeydew |
FF F0 FF F0 |
|
Hotpink |
FF FF 69 B4 |
|
Indianred |
FF CD 5C 5C |
|
Indigo |
FF 4B 00 82 |
|
Ivory |
FF FF FF F0 |
|
Khaki |
FF F0 E6 8C |
|
Lavender |
FF E6 E6 FA |
|
Lavenderblush |
FF FF F0 F5 |
|
Lawngreen |
FF 7C FC 00 |
|
Lemonchiffon |
FF FF FA CD |
|
Lightblue |
FF AD D8 E6 |
|
Lightcoral |
FF F0 80 80 |
|
Lightcyan |
FF E0 FF FF |
|
Lightgoldenrodyellow |
FF FA FA D2 |
|
Lightgray |
FF D3 D3 D3 |
|
Lightgreen |
FF 90 EE 90 |
|
Lightgrey |
FF D3 D3 D3 |
|
Lightpink |
FF FF B6 C1 |
|
Lightsalmon |
FF FF A0 7A |
|
Lightseagreen |
FF 20 B2 AA |
|
Lightskyblue |
FF 87 CE FA |
|
Lightslategray |
FF 77 88 99 |
|
Lightslategrey |
FF 77 88 99 |
|
Lightsteelblue |
FF B0 C4 DE |
|
Lightyellow |
FF FF FF E0 |
|
LtGray |
FF C0 C0 C0 |
|
MedGray |
FF A0 A0 A0 |
|
DkGray |
FF 80 80 80 |
|
MoneyGreen |
FF C0 DC C0 |
|
LegacySkyBlue |
FF F0 CA A6 |
|
Cream |
FF F0 FB FF |
|
Lime |
FF 00 FF 00 |
|
Limegreen |
FF 32 CD 32 |
|
Linen |
FF FA F0 E6 |
|
Magenta |
FF FF 00 FF |
|
Maroon |
FF 80 00 00 |
|
Mediumaquamarine |
FF 66 CD AA |
|
Mediumblue |
FF 00 00 CD |
|
Mediumorchid |
FF BA 55 D3 |
|
Mediumpurple |
FF 93 70 DB |
|
Mediumseagreen |
FF 3C B3 71 |
|
Mediumslateblue |
FF 7B 68 EE |
|
Mediumspringgreen |
FF 00 FA 9A |
|
Mediumturquoise |
FF 48 D1 CC |
|
Mediumvioletred |
FF C7 15 85 |
|
Midnightblue |
FF 19 19 70 |
|
Mintcream |
FF F5 FF FA |
|
Mistyrose |
FF FF E4 E1 |
|
Moccasin |
FF FF E4 B5 |
|
Navajowhite |
FF FF DE AD |
|
Navy |
FF 00 00 80 |
|
Oldlace |
FF FD F5 E6 |
|
Olive |
FF 80 80 00 |
|
Olivedrab |
FF 6B 8E 23 |
|
Orange |
FF FF A5 00 |
|
Orangered |
FF FF 45 00 |
|
Orchid |
FF DA 70 D6 |
|
Palegoldenrod |
FF EE E8 AA |
|
Palegreen |
FF 98 FB 98 |
|
Paleturquoise |
FF AF EE EE |
|
Palevioletred |
FF DB 70 93 |
|
Papayawhip |
FF FF EF D5 |
|
Peachpuff |
FF FF DA B9 |
|
Peru |
FF CD 85 3F |
|
Pink |
FF FF C0 CB |
|
Plum |
FF DD A0 DD |
|
Powderblue |
FF B0 E0 E6 |
|
Purple |
FF 80 00 80 |
|
Rouge |
FF FF 00 00 |
|
Rosybrown |
FF BC 8F 8F |
|
Royalblue |
FF 41 69 E1 |
|
Saddlebrown |
FF 8B 45 13 |
|
Salmon |
FF FA 80 72 |
|
Sandybrown |
FF F4 A4 60 |
|
Seagreen |
FF 2E 8B 57 |
|
Seashell |
FF FF F5 EE |
|
Sienna |
FF A0 52 2D |
|
Silver |
FF C0 C0 C0 |
|
Skyblue |
FF 87 CE EB |
|
Slateblue |
FF 6A 5A CD |
|
Slategray |
FF 70 80 90 |
|
Slategrey |
FF 70 80 90 |
|
Snow |
FF FF FA FA |
|
Springgreen |
FF 00 FF 7F |
|
Steelblue |
FF 46 82 B4 |
|
Tan |
FF D2 B4 8C |
|
Teal |
FF 00 80 80 |
|
Thistle |
FF D8 BF D8 |
|
Tomato |
FF FF 63 47 |
|
Turquoise |
FF 40 E0 D0 |
|
Violet |
FF EE 82 EE |
|
Wheat |
FF F5 DE B3 |
|
White |
FF FF FF FF |
|
Whitesmoke |
FF F5 F5 F5 |
|
Yellow |
FF FF FF 00 |
|
Yellowgreen |
FF 9A CD 32 |
|
Null |
00 00 00 00 |
|
Alpha |
FF 00 00 00 |
Couleurs de TAlphaColors
Les noms des constantes des couleurs Alpha sont composés du préfixe cla
et des noms de couleurs définis par l'enregistrement TAlphaColorRec.
Constantes System.UIConsts | TAlphaColors | A R G B |
---|---|---|
|
TAlphaColors.AliceBlue |
FF F0 F8 FF |
|
TAlphaColors.Antiquewhite |
FF FA EB D7 |
|
TAlphaColors.Aqua |
FF 00 FF FF |
|
TAlphaColors.Aquamarine |
FF 7F FF D4 |
|
TAlphaColors.Azure |
FF F0 FF FF |
|
TAlphaColors.Beige |
FF F5 F5 DC |
|
TAlphaColors.Bisque |
FF FF E4 C4 |
|
TAlphaColors.Black |
FF 00 00 00 |
|
TAlphaColors.Blanchedalmond |
FF FF EB CD |
|
TAlphaColors.Blue |
FF 00 00 FF |
|
TAlphaColors.Blueviolet |
FF 8A 2B E2 |
|
TAlphaColors.Brown |
FF A5 2A 2A |
|
TAlphaColors.Burlywood |
FF DE B8 87 |
|
TAlphaColors.Cadetblue |
FF 5F 9E A0 |
|
TAlphaColors.Chartreuse |
FF 7F FF 00 |
|
TAlphaColors.Chocolate |
FF D2 69 1E |
|
TAlphaColors.Coral |
FF FF 7F 50 |
|
TAlphaColors.Cornflowerblue |
FF 64 95 ED |
|
TAlphaColors.Cornsilk |
FF FF F8 DC |
|
TAlphaColors.Crimson |
FF DC 14 3C |
|
TAlphaColors.Cyan |
FF 00 FF FF |
|
TAlphaColors.Darkblue |
FF 00 00 8B |
|
TAlphaColors.Darkcyan |
FF 00 8B 8B |
|
TAlphaColors.Darkgoldenrod |
FF B8 86 0B |
|
TAlphaColors.Darkgray |
FF A9 A9 A9 |
|
TAlphaColors.Darkgreen |
FF 00 64 00 |
|
TAlphaColors.Darkgrey |
FF A9 A9 A9 |
|
TAlphaColors.Darkkhaki |
FF BD B7 6B |
|
TAlphaColors.Darkmagenta |
FF 8B 00 8B |
|
TAlphaColors.Darkolivegreen |
FF 55 6B 2F |
|
TAlphaColors.Darkorange |
FF FF 8C 00 |
|
TAlphaColors.Darkorchid |
FF 99 32 CC |
|
TAlphaColors.Darkred |
FF 8B 00 00 |
|
TAlphaColors.Darksalmon |
FF E9 96 7A |
|
TAlphaColors.Darkseagreen |
FF 8F BC 8F |
|
TAlphaColors.Darkslateblue |
FF 48 3D 8B |
|
TAlphaColors.Darkslategray |
FF 2F 4F 4F |
|
TAlphaColors.Darkslategrey |
FF 2F 4F 4F |
|
TAlphaColors.Darkturquoise |
FF 00 CE D1 |
|
TAlphaColors.Darkviolet |
FF 94 00 D3 |
|
TAlphaColors.Deeppink |
FF FF 14 93 |
|
TAlphaColors.Deepskyblue |
FF 00 BF FF |
|
TAlphaColors.Dimgray |
FF 69 69 69 |
|
TAlphaColors.Dimgrey |
FF 69 69 69 |
|
TAlphaColors.Dodgerblue |
FF 1E 90 FF |
|
TAlphaColors.Firebrick |
FF B2 22 22 |
|
TAlphaColors.Floralwhite |
FF FF FA F0 |
|
TAlphaColors.Forestgreen |
FF 22 8B 22 |
|
TAlphaColors.Fuchsia |
FF FF 00 FF |
|
TAlphaColors.Gainsboro |
FF DC DC DC |
|
TAlphaColors.Ghostwhite |
FF F8 F8 FF |
|
TAlphaColors.Gold |
FF FF D7 00 |
|
TAlphaColors.Goldenrod |
FF DA A5 20 |
|
TAlphaColors.Gray |
FF 80 80 80 |
|
TAlphaColors.Green |
FF 00 80 00 |
|
TAlphaColors.Greenyellow |
FF AD FF 2F |
|
TAlphaColors.Grey |
FF 80 80 80 |
|
TAlphaColors.Honeydew |
FF F0 FF F0 |
|
TAlphaColors.Hotpink |
FF FF 69 B4 |
|
TAlphaColors.Indianred |
FF CD 5C 5C |
|
TAlphaColors.Indigo |
FF 4B 00 82 |
|
TAlphaColors.Ivory |
FF FF FF F0 |
|
TAlphaColors.Khaki |
FF F0 E6 8C |
|
TAlphaColors.Lavender |
FF E6 E6 FA |
|
TAlphaColors.Lavenderblush |
FF FF F0 F5 |
|
TAlphaColors.Lawngreen |
FF 7C FC 00 |
|
TAlphaColors.Lemonchiffon |
FF FF FA CD |
|
TAlphaColors.Lightblue |
FF AD D8 E6 |
|
TAlphaColors.Lightcoral |
FF F0 80 80 |
|
TAlphaColors.Lightcyan |
FF E0 FF FF |
|
TAlphaColors.Lightgoldenrodyellow |
FF FA FA D2 |
|
TAlphaColors.Lightgray |
FF D3 D3 D3 |
|
TAlphaColors.Lightgreen |
FF 90 EE 90 |
|
TAlphaColors.Lightgrey |
FF D3 D3 D3 |
|
TAlphaColors.Lightpink |
FF FF B6 C1 |
|
TAlphaColors.Lightsalmon |
FF FF A0 7A |
|
TAlphaColors.Lightseagreen |
FF 20 B2 AA |
|
TAlphaColors.Lightskyblue |
FF 87 CE FA |
|
TAlphaColors.Lightslategray |
FF 77 88 99 |
|
TAlphaColors.Lightslategrey |
FF 77 88 99 |
|
TAlphaColors.Lightsteelblue |
FF B0 C4 DE |
|
TAlphaColors.Lightyellow |
FF FF FF E0 |
|
TAlphaColors.Lime |
FF 00 FF 00 |
|
TAlphaColors.Limegreen |
FF 32 CD 32 |
|
TAlphaColors.Linen |
FF FA F0 E6 |
|
TAlphaColors.Magenta |
FF FF 00 FF |
|
TAlphaColors.Maroon |
FF 80 00 00 |
|
TAlphaColors.Mediumaquamarine |
FF 66 CD AA |
|
TAlphaColors.Mediumblue |
FF 00 00 CD |
|
TAlphaColors.Mediumorchid |
FF BA 55 D3 |
|
TAlphaColors.Mediumpurple |
FF 93 70 DB |
|
TAlphaColors.Mediumseagreen |
FF 3C B3 71 |
|
TAlphaColors.Mediumslateblue |
FF 7B 68 EE |
|
TAlphaColors.Mediumspringgreen |
FF 00 FA 9A |
|
TAlphaColors.Mediumturquoise |
FF 48 D1 CC |
|
TAlphaColors.Mediumvioletred |
FF C7 15 85 |
|
TAlphaColors.Midnightblue |
FF 19 19 70 |
|
TAlphaColors.Mintcream |
FF F5 FF FA |
|
TAlphaColors.Mistyrose |
FF FF E4 E1 |
|
TAlphaColors.Moccasin |
FF FF E4 B5 |
|
TAlphaColors.Navajowhite |
FF FF DE AD |
|
TAlphaColors.Navy |
FF 00 00 80 |
|
TAlphaColors.Oldlace |
FF FD F5 E6 |
|
TAlphaColors.Olive |
FF 80 80 00 |
|
TAlphaColors.Olivedrab |
FF 6B 8E 23 |
|
TAlphaColors.Orange |
FF FF A5 00 |
|
TAlphaColors.Orangered |
FF FF 45 00 |
|
TAlphaColors.Orchid |
FF DA 70 D6 |
|
TAlphaColors.Palegoldenrod |
FF EE E8 AA |
|
TAlphaColors.Palegreen |
FF 98 FB 98 |
|
TAlphaColors.Paleturquoise |
FF AF EE EE |
|
TAlphaColors.Palevioletred |
FF DB 70 93 |
|
TAlphaColors.Papayawhip |
FF FF EF D5 |
|
TAlphaColors.Peachpuff |
FF FF DA B9 |
|
TAlphaColors.Peru |
FF CD 85 3F |
|
TAlphaColors.Pink |
FF FF C0 CB |
|
TAlphaColors.Plum |
FF DD A0 DD |
|
TAlphaColors.Powderblue |
FF B0 E0 E6 |
|
TAlphaColors.Purple |
FF 80 00 80 |
|
TAlphaColors.Red |
FF FF 00 00 |
|
TAlphaColors.Rosybrown |
FF BC 8F 8F |
|
TAlphaColors.Royalblue |
FF 41 69 E1 |
|
TAlphaColors.Saddlebrown |
FF 8B 45 13 |
|
TAlphaColors.Salmon |
FF FA 80 72 |
|
TAlphaColors.Sandybrown |
FF F4 A4 60 |
|
TAlphaColors.Seagreen |
FF 2E 8B 57 |
|
TAlphaColors.Seashell |
FF FF F5 EE |
|
TAlphaColors.Sienna |
FF A0 52 2D |
|
TAlphaColors.Silver |
FF C0 C0 C0 |
|
TAlphaColors.Skyblue |
FF 87 CE EB |
|
TAlphaColors.Slateblue |
FF 6A 5A CD |
|
TAlphaColors.Slategray |
FF 70 80 90 |
|
TAlphaColors.Slategrey |
FF 70 80 90 |
|
TAlphaColors.Snow |
FF FF FA FA |
|
TAlphaColors.Springgreen |
FF 00 FF 7F |
|
TAlphaColors.Steelblue |
FF 46 82 B4 |
|
TAlphaColors.Tan |
FF D2 B4 8C |
|
TAlphaColors.Teal |
FF 00 80 80 |
|
TAlphaColors.Thistle |
FF D8 BF D8 |
|
TAlphaColors.Tomato |
FF FF 63 47 |
|
TAlphaColors.Turquoise |
FF 40 E0 D0 |
|
TAlphaColors.Violet |
FF EE 82 EE |
|
TAlphaColors.Wheat |
FF F5 DE B3 |
|
TAlphaColors.White |
FF FF FF FF |
|
TAlphaColors.Whitesmoke |
FF F5 F5 F5 |
|
TAlphaColors.Yellow |
FF FF FF 00 |
|
TAlphaColors.Yellowgreen |
FF 9A CD 32 |
|
TAlphaColors.Null |
00 00 00 00 |