Show: Object Pascal C++
Display Preferences

Colors in FireMonkey

From Appmethod Topics
Jump to: navigation, search

Go Up to FireMonkey Applications Guide


The System.UITypes unit contains definitions of useful constants for TAlphaColor and TAlphaColorRec. These constants map either directly to the closest matching color in the system palette (for example, the Blue constant maps to the blue color)).

TAlphaColor is formed of four channels (ARGB) specified as 4-byte hexadecimal number. The low three bytes represent RGB color channels, intensities for blue, green, and red, respectively, and the highest-order byte is the transparency coefficient (Alpha channel).


The table shows some of the TAlphaColorRec colors in Object Pascal and Appmethod C++:

Color Color in Object Pascal Color in Appmethod C++

Blue

$FFFF0000

0xFFFF0000

Green

$FF00FF00

0xFF00FF00

Red

$FF0000FF

0xFF0000FF

Black

$FF000000

0xFF000000

Black

$FFFFFFFF

0xFFFFFFFF


TAlphaColorRec Colors

TAlphaColorRec Constants Colors A R G B

Aliceblue

Aliceblue

FF F0 F8 FF

Antiquewhite

Antiquewhite

FF FA EB D7

Aqua

Aqua

FF 00 FF FF

Aquamarine

Aquamarine

FF 7F FF D4

Azure

Azure

FF F0 FF FF

Beige

Beige

FF F5 F5 DC

Bisque

Bisque

FF FF E4 C4

Black

Black

FF 00 00 00

Blanchedalmond

Blanchedalmond

FF FF EB CD

Blue

Blue

FF 00 00 FF

Blueviolet

Blueviolet

FF 8A 2B E2

Brown

Brown

FF A5 2A 2A

Burlywood

Burlywood

FF DE B8 87

Cadetblue

Cadetblue

FF 5F 9E A0

Chartreuse

Chartreuse

FF 7F FF 00

Chocolate

Chocolate

FF D2 69 1E

Coral

Coral

FF FF 7F 50

Cornflowerblue

Cornflowerblue

FF 64 95 ED

Cornsilk

Cornsilk

FF FF F8 DC

Crimson

Crimson

FF DC 14 3C

Cyan

Cyan

FF 00 FF FF

Darkblue

Darkblue

FF 00 00 8B

Darkcyan

Darkcyan

FF 00 8B 8B

Darkgoldenrod

Darkgoldenrod

FF B8 86 0B

Darkgray

Darkgray

FF A9 A9 A9

Darkgreen

Darkgreen

FF 00 64 00

Darkgrey

Darkgrey

FF A9 A9 A9

Darkkhaki

Darkkhaki

FF BD B7 6B

Darkmagenta

Darkmagenta

FF 8B 00 8B

Darkolivegreen

Darkolivegreen

FF 55 6B 2F

Darkorange

Darkorange

FF FF 8C 00

Darkorchid

Darkorchid

FF 99 32 CC

Darkred

Darkred

FF 8B 00 00

Darksalmon

Darksalmon

FF E9 96 7A

Darkseagreen

Darkseagreen

FF 8F BC 8F

Darkslateblue

Darkslateblue

FF 48 3D 8B

Darkslategray

Darkslategray

FF 2F 4F 4F

Darkslategrey

Darkslategrey

FF 2F 4F 4F

Darkturquoise

Darkturquoise

FF 00 CE D1

Darkviolet

Darkviolet

FF 94 00 D3

Deeppink

Deeppink

FF FF 14 93

Deepskyblue

Deepskyblue

FF 00 BF FF

Dimgray

Dimgray

FF 69 69 69

Dimgrey

Dimgrey

FF 69 69 69

Dodgerblue

Dodgerblue

FF 1E 90 FF

Firebrick

Firebrick

FF B2 22 22

Floralwhite

Floralwhite

FF FF FA F0

Forestgreen

Forestgreen

FF 22 8B 22

Fuchsia

Fuchsia

FF FF 00 FF

Gainsboro

Gainsboro

FF DC DC DC

Ghostwhite

Ghostwhite

FF F8 F8 FF

Gold

Gold

FF FF D7 00

Goldenrod

Goldenrod

FF DA A5 20

Gray

Gray

FF 80 80 80

Green

Green

FF 00 80 00

Greenyellow

Greenyellow

FF AD FF 2F

Grey

Grey

FF 80 80 80

Honeydew

Honeydew

FF F0 FF F0

Hotpink

Hotpink

FF FF 69 B4

Indianred

Indianred

FF CD 5C 5C

Indigo

Indigo

FF 4B 00 82

Ivory

Ivory

FF FF FF F0

Khaki

Khaki

FF F0 E6 8C

Lavender

Lavender

FF E6 E6 FA

Lavenderblush

Lavenderblush

FF FF F0 F5

Lawngreen

Lawngreen

FF 7C FC 00

Lemonchiffon

Lemonchiffon

FF FF FA CD

Lightblue

Lightblue

FF AD D8 E6

Lightcoral

Lightcoral

FF F0 80 80

Lightcyan

Lightcyan

FF E0 FF FF

Lightgoldenrodyellow

Lightgoldenrodyellow

FF FA FA D2

Lightgray

Lightgray

FF D3 D3 D3

Lightgreen

Lightgreen

FF 90 EE 90

Lightgrey

Lightgrey

FF D3 D3 D3

Lightpink

Lightpink

FF FF B6 C1

Lightsalmon

Lightsalmon

FF FF A0 7A

Lightseagreen

Lightseagreen

FF 20 B2 AA

Lightskyblue

Lightskyblue

FF 87 CE FA

Lightslategray

Lightslategray

FF 77 88 99

Lightslategrey

Lightslategrey

FF 77 88 99

Lightsteelblue

Lightsteelblue

FF B0 C4 DE

Lightyellow

Lightyellow

FF FF FF E0

LtGray

LtGray

FF C0 C0 C0

MedGray

MedGray

FF A0 A0 A0

DkGray

DkGray

FF 80 80 80

MoneyGreen

MoneyGreen

FF C0 DC C0

LegacySkyBlue

LegacySkyBlue

FF F0 CA A6

Cream

Cream

FF F0 FB FF

Lime

Lime

FF 00 FF 00

Limegreen

Limegreen

FF 32 CD 32

Linen

Linen

FF FA F0 E6

Magenta

Magenta

FF FF 00 FF

Maroon

Maroon

FF 80 00 00

Mediumaquamarine

Mediumaquamarine

FF 66 CD AA

Mediumblue

Mediumblue

FF 00 00 CD

Mediumorchid

Mediumorchid

FF BA 55 D3

Mediumpurple

Mediumpurple

FF 93 70 DB

Mediumseagreen

Mediumseagreen

FF 3C B3 71

Mediumslateblue

Mediumslateblue

FF 7B 68 EE

Mediumspringgreen

Mediumspringgreen

FF 00 FA 9A

Mediumturquoise

Mediumturquoise

FF 48 D1 CC

Mediumvioletred

Mediumvioletred

FF C7 15 85

Midnightblue

Midnightblue

FF 19 19 70

Mintcream

Mintcream

FF F5 FF FA

Mistyrose

Mistyrose

FF FF E4 E1

Moccasin

Moccasin

FF FF E4 B5

Navajowhite

Navajowhite

FF FF DE AD

Navy

Navy

FF 00 00 80

Oldlace

Oldlace

FF FD F5 E6

Olive

Olive

FF 80 80 00

Olivedrab

Olivedrab

FF 6B 8E 23

Orange

Orange

FF FF A5 00

Orangered

Orangered

FF FF 45 00

Orchid

Orchid

FF DA 70 D6

Palegoldenrod

Palegoldenrod

FF EE E8 AA

Palegreen

Palegreen

FF 98 FB 98

Paleturquoise

Paleturquoise

FF AF EE EE

Palevioletred

Palevioletred

FF DB 70 93

Papayawhip

Papayawhip

FF FF EF D5

Peachpuff

Peachpuff

FF FF DA B9

Peru

Peru

FF CD 85 3F

Pink

Pink

FF FF C0 CB

Plum

Plum

FF DD A0 DD

Powderblue

Powderblue

FF B0 E0 E6

Purple

Purple

FF 80 00 80

Red

Red

FF FF 00 00

Rosybrown

Rosybrown

FF BC 8F 8F

Royalblue

Royalblue

FF 41 69 E1

Saddlebrown

Saddlebrown

FF 8B 45 13

Salmon

Salmon

FF FA 80 72

Sandybrown

Sandybrown

FF F4 A4 60

Seagreen

Seagreen

FF 2E 8B 57

Seashell

Seashell

FF FF F5 EE

Sienna

Sienna

FF A0 52 2D

Silver

Silver

FF C0 C0 C0

Skyblue

Skyblue

FF 87 CE EB

Slateblue

Slateblue

FF 6A 5A CD

Slategray

Slategray

FF 70 80 90

Slategrey

Slategrey

FF 70 80 90

Snow

Snow

FF FF FA FA

Springgreen

Springgreen

FF 00 FF 7F

Steelblue

Steelblue

FF 46 82 B4

Tan

Tan

FF D2 B4 8C

Teal

Teal

FF 00 80 80

Thistle

Thistle

FF D8 BF D8

Tomato

Tomato

FF FF 63 47

Turquoise

Turquoise

FF 40 E0 D0

Violet

Violet

FF EE 82 EE

Wheat

Wheat

FF F5 DE B3

White

White

FF FF FF FF

Whitesmoke

Whitesmoke

FF F5 F5 F5

Yellow

Yellow

FF FF FF 00

Yellowgreen

Yellowgreen

FF 9A CD 32

Null

Null

00 00 00 00

Alpha

Alpha

FF 00 00 00


TAlphaColors Colors

The names of the Alpha colors constants are composed of the cla prefix and the color names defined by the TAlphaColorRec record.

System.UIConsts Constants TAlphaColors A R G B

claAliceblue

TAlphaColors.AliceBlue

FF F0 F8 FF

claAntiquewhite

TAlphaColors.Antiquewhite

FF FA EB D7

claAqua

TAlphaColors.Aqua

FF 00 FF FF

claAquamarine

TAlphaColors.Aquamarine

FF 7F FF D4

claAzure

TAlphaColors.Azure

FF F0 FF FF

claBeige

TAlphaColors.Beige

FF F5 F5 DC

claBisque

TAlphaColors.Bisque

FF FF E4 C4

claBlack

TAlphaColors.Black

FF 00 00 00

claBlanchedalmond

TAlphaColors.Blanchedalmond

FF FF EB CD

claBlue

TAlphaColors.Blue

FF 00 00 FF

claBlueviolet

TAlphaColors.Blueviolet

FF 8A 2B E2

claBrown

TAlphaColors.Brown

FF A5 2A 2A

claBurlywood

TAlphaColors.Burlywood

FF DE B8 87

claCadetblue

TAlphaColors.Cadetblue

FF 5F 9E A0

claChartreuse

TAlphaColors.Chartreuse

FF 7F FF 00

claChocolate

TAlphaColors.Chocolate

FF D2 69 1E

claCoral

TAlphaColors.Coral

FF FF 7F 50

claCornflowerblue

TAlphaColors.Cornflowerblue

FF 64 95 ED

claCornsilk

TAlphaColors.Cornsilk

FF FF F8 DC

claCrimson

TAlphaColors.Crimson

FF DC 14 3C

claCyan

TAlphaColors.Cyan

FF 00 FF FF

claDarkblue

TAlphaColors.Darkblue

FF 00 00 8B

claDarkcyan

TAlphaColors.Darkcyan

FF 00 8B 8B

claDarkgoldenrod

TAlphaColors.Darkgoldenrod

FF B8 86 0B

claDarkgray

TAlphaColors.Darkgray

FF A9 A9 A9

claDarkgreen

TAlphaColors.Darkgreen

FF 00 64 00

claDarkgrey

TAlphaColors.Darkgrey

FF A9 A9 A9

claDarkkhaki

TAlphaColors.Darkkhaki

FF BD B7 6B

claDarkmagenta

TAlphaColors.Darkmagenta

FF 8B 00 8B

claDarkolivegreen

TAlphaColors.Darkolivegreen

FF 55 6B 2F

claDarkorange

TAlphaColors.Darkorange

FF FF 8C 00

claDarkorchid

TAlphaColors.Darkorchid

FF 99 32 CC

claDarkred

TAlphaColors.Darkred

FF 8B 00 00

claDarksalmon

TAlphaColors.Darksalmon

FF E9 96 7A

claDarkseagreen

TAlphaColors.Darkseagreen

FF 8F BC 8F

claDarkslateblue

TAlphaColors.Darkslateblue

FF 48 3D 8B

claDarkslategray

TAlphaColors.Darkslategray

FF 2F 4F 4F

claDarkslategrey

TAlphaColors.Darkslategrey

FF 2F 4F 4F

claDarkturquoise

TAlphaColors.Darkturquoise

FF 00 CE D1

claDarkviolet

TAlphaColors.Darkviolet

FF 94 00 D3

claDeeppink

TAlphaColors.Deeppink

FF FF 14 93

claDeepskyblue

TAlphaColors.Deepskyblue

FF 00 BF FF

claDimgray

TAlphaColors.Dimgray

FF 69 69 69

claDimgrey

TAlphaColors.Dimgrey

FF 69 69 69

claDodgerblue

TAlphaColors.Dodgerblue

FF 1E 90 FF

claFirebrick

TAlphaColors.Firebrick

FF B2 22 22

claFloralwhite

TAlphaColors.Floralwhite

FF FF FA F0

claForestgreen

TAlphaColors.Forestgreen

FF 22 8B 22

claFuchsia

TAlphaColors.Fuchsia

FF FF 00 FF

claGainsboro

TAlphaColors.Gainsboro

FF DC DC DC

claGhostwhite

TAlphaColors.Ghostwhite

FF F8 F8 FF

claGold

TAlphaColors.Gold

FF FF D7 00

claGoldenrod

TAlphaColors.Goldenrod

FF DA A5 20

claGray

TAlphaColors.Gray

FF 80 80 80

claGreen

TAlphaColors.Green

FF 00 80 00

claGreenyellow

TAlphaColors.Greenyellow

FF AD FF 2F

claGrey

TAlphaColors.Grey

FF 80 80 80

claHoneydew

TAlphaColors.Honeydew

FF F0 FF F0

claHotpink

TAlphaColors.Hotpink

FF FF 69 B4

claIndianred

TAlphaColors.Indianred

FF CD 5C 5C

claIndigo

TAlphaColors.Indigo

FF 4B 00 82

claIvory

TAlphaColors.Ivory

FF FF FF F0

claKhaki

TAlphaColors.Khaki

FF F0 E6 8C

claLavender

TAlphaColors.Lavender

FF E6 E6 FA

claLavenderblush

TAlphaColors.Lavenderblush

FF FF F0 F5

claLawngreen

TAlphaColors.Lawngreen

FF 7C FC 00

claLemonchiffon

TAlphaColors.Lemonchiffon

FF FF FA CD

claLightblue

TAlphaColors.Lightblue

FF AD D8 E6

claLightcoral

TAlphaColors.Lightcoral

FF F0 80 80

claLightcyan

TAlphaColors.Lightcyan

FF E0 FF FF

claLightgoldenrodyellow

TAlphaColors.Lightgoldenrodyellow

FF FA FA D2

claLightgray

TAlphaColors.Lightgray

FF D3 D3 D3

claLightgreen

TAlphaColors.Lightgreen

FF 90 EE 90

claLightgrey

TAlphaColors.Lightgrey

FF D3 D3 D3

claLightpink

TAlphaColors.Lightpink

FF FF B6 C1

claLightsalmon

TAlphaColors.Lightsalmon

FF FF A0 7A

claLightseagreen

TAlphaColors.Lightseagreen

FF 20 B2 AA

claLightskyblue

TAlphaColors.Lightskyblue

FF 87 CE FA

claLightslategray

TAlphaColors.Lightslategray

FF 77 88 99

claLightslategrey

TAlphaColors.Lightslategrey

FF 77 88 99

claLightsteelblue

TAlphaColors.Lightsteelblue

FF B0 C4 DE

claLightyellow

TAlphaColors.Lightyellow

FF FF FF E0

claLime

TAlphaColors.Lime

FF 00 FF 00

claLimegreen

TAlphaColors.Limegreen

FF 32 CD 32

claLinen

TAlphaColors.Linen

FF FA F0 E6

claMagenta

TAlphaColors.Magenta

FF FF 00 FF

claMaroon

TAlphaColors.Maroon

FF 80 00 00

claMediumaquamarine

TAlphaColors.Mediumaquamarine

FF 66 CD AA

claMediumblue

TAlphaColors.Mediumblue

FF 00 00 CD

claMediumorchid

TAlphaColors.Mediumorchid

FF BA 55 D3

claMediumpurple

TAlphaColors.Mediumpurple

FF 93 70 DB

claMediumseagreen

TAlphaColors.Mediumseagreen

FF 3C B3 71

claMediumslateblue

TAlphaColors.Mediumslateblue

FF 7B 68 EE

claMediumspringgreen

TAlphaColors.Mediumspringgreen

FF 00 FA 9A

claMediumturquoise

TAlphaColors.Mediumturquoise

FF 48 D1 CC

claMediumvioletred

TAlphaColors.Mediumvioletred

FF C7 15 85

claMidnightblue

TAlphaColors.Midnightblue

FF 19 19 70

claMintcream

TAlphaColors.Mintcream

FF F5 FF FA

claMistyrose

TAlphaColors.Mistyrose

FF FF E4 E1

claMoccasin

TAlphaColors.Moccasin

FF FF E4 B5

claNavajowhite

TAlphaColors.Navajowhite

FF FF DE AD

claNavy

TAlphaColors.Navy

FF 00 00 80

claOldlace

TAlphaColors.Oldlace

FF FD F5 E6

claOlive

TAlphaColors.Olive

FF 80 80 00

claOlivedrab

TAlphaColors.Olivedrab

FF 6B 8E 23

claOrange

TAlphaColors.Orange

FF FF A5 00

claOrangered

TAlphaColors.Orangered

FF FF 45 00

claOrchid

TAlphaColors.Orchid

FF DA 70 D6

claPalegoldenrod

TAlphaColors.Palegoldenrod

FF EE E8 AA

claPalegreen

TAlphaColors.Palegreen

FF 98 FB 98

claPaleturquoise

TAlphaColors.Paleturquoise

FF AF EE EE

claPalevioletred

TAlphaColors.Palevioletred

FF DB 70 93

claPapayawhip

TAlphaColors.Papayawhip

FF FF EF D5

claPeachpuff

TAlphaColors.Peachpuff

FF FF DA B9

claPeru

TAlphaColors.Peru

FF CD 85 3F

claPink

TAlphaColors.Pink

FF FF C0 CB

claPlum

TAlphaColors.Plum

FF DD A0 DD

claPowderblue

TAlphaColors.Powderblue

FF B0 E0 E6

claPurple

TAlphaColors.Purple

FF 80 00 80

claRed

TAlphaColors.Red

FF FF 00 00

claRosybrown

TAlphaColors.Rosybrown

FF BC 8F 8F

claRoyalblue

TAlphaColors.Royalblue

FF 41 69 E1

claSaddlebrown

TAlphaColors.Saddlebrown

FF 8B 45 13

claSalmon

TAlphaColors.Salmon

FF FA 80 72

claSandybrown

TAlphaColors.Sandybrown

FF F4 A4 60

claSeagreen

TAlphaColors.Seagreen

FF 2E 8B 57

claSeashell

TAlphaColors.Seashell

FF FF F5 EE

claSienna

TAlphaColors.Sienna

FF A0 52 2D

claSilver

TAlphaColors.Silver

FF C0 C0 C0

claSkyblue

TAlphaColors.Skyblue

FF 87 CE EB

claSlateblue

TAlphaColors.Slateblue

FF 6A 5A CD

claSlategray

TAlphaColors.Slategray

FF 70 80 90

claSlategrey

TAlphaColors.Slategrey

FF 70 80 90

claSnow

TAlphaColors.Snow

FF FF FA FA

claSpringgreen

TAlphaColors.Springgreen

FF 00 FF 7F

claSteelblue

TAlphaColors.Steelblue

FF 46 82 B4

claTan

TAlphaColors.Tan

FF D2 B4 8C

claTeal

TAlphaColors.Teal

FF 00 80 80

claThistle

TAlphaColors.Thistle

FF D8 BF D8

claTomato

TAlphaColors.Tomato

FF FF 63 47

claTurquoise

TAlphaColors.Turquoise

FF 40 E0 D0

claViolet

TAlphaColors.Violet

FF EE 82 EE

claWheat

TAlphaColors.Wheat

FF F5 DE B3

claWhite

TAlphaColors.White

FF FF FF FF

claWhitesmoke

TAlphaColors.Whitesmoke

FF F5 F5 F5

claYellow

TAlphaColors.Yellow

FF FF FF 00

claYellowgreen

TAlphaColors.Yellowgreen

FF 9A CD 32

claNull

TAlphaColors.Null

00 00 00 00


See Also

Personal tools
In other languages