System.UITypes.TAlphaColorRec

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TAlphaColorRec = record

C++

struct DECLSPEC_DRECORD TAlphaColorRec
{
public:
    static const TAlphaColor Alpha = TAlphaColor(0xff000000);
    static const TAlphaColor Aliceblue = TAlphaColor(0xfff0f8ff);
    static const TAlphaColor Antiquewhite = TAlphaColor(0xfffaebd7);
    static const TAlphaColor Aqua = TAlphaColor(0xff00ffff);
    static const TAlphaColor Aquamarine = TAlphaColor(0xff7fffd4);
    static const TAlphaColor Azure = TAlphaColor(0xfff0ffff);
    static const TAlphaColor Beige = TAlphaColor(0xfff5f5dc);
    static const TAlphaColor Bisque = TAlphaColor(0xffffe4c4);
    static const TAlphaColor Black = TAlphaColor(0xff000000);
    static const TAlphaColor Blanchedalmond = TAlphaColor(0xffffebcd);
    static const TAlphaColor Blue = TAlphaColor(0xff0000ff);
    static const TAlphaColor Blueviolet = TAlphaColor(0xff8a2be2);
    static const TAlphaColor Brown = TAlphaColor(0xffa52a2a);
    static const TAlphaColor Burlywood = TAlphaColor(0xffdeb887);
    static const TAlphaColor Cadetblue = TAlphaColor(0xff5f9ea0);
    static const TAlphaColor Chartreuse = TAlphaColor(0xff7fff00);
    static const TAlphaColor Chocolate = TAlphaColor(0xffd2691e);
    static const TAlphaColor Coral = TAlphaColor(0xffff7f50);
    static const TAlphaColor Cornflowerblue = TAlphaColor(0xff6495ed);
    static const TAlphaColor Cornsilk = TAlphaColor(0xfffff8dc);
    static const TAlphaColor Crimson = TAlphaColor(0xffdc143c);
    static const TAlphaColor Cyan = TAlphaColor(0xff00ffff);
    static const TAlphaColor Darkblue = TAlphaColor(0xff00008b);
    static const TAlphaColor Darkcyan = TAlphaColor(0xff008b8b);
    static const TAlphaColor Darkgoldenrod = TAlphaColor(0xffb8860b);
    static const TAlphaColor Darkgray = TAlphaColor(0xffa9a9a9);
    static const TAlphaColor Darkgreen = TAlphaColor(0xff006400);
    static const TAlphaColor Darkgrey = TAlphaColor(0xffa9a9a9);
    static const TAlphaColor Darkkhaki = TAlphaColor(0xffbdb76b);
    static const TAlphaColor Darkmagenta = TAlphaColor(0xff8b008b);
    static const TAlphaColor Darkolivegreen = TAlphaColor(0xff556b2f);
    static const TAlphaColor Darkorange = TAlphaColor(0xffff8c00);
    static const TAlphaColor Darkorchid = TAlphaColor(0xff9932cc);
    static const TAlphaColor Darkred = TAlphaColor(0xff8b0000);
    static const TAlphaColor Darksalmon = TAlphaColor(0xffe9967a);
    static const TAlphaColor Darkseagreen = TAlphaColor(0xff8fbc8f);
    static const TAlphaColor Darkslateblue = TAlphaColor(0xff483d8b);
    static const TAlphaColor Darkslategray = TAlphaColor(0xff2f4f4f);
    static const TAlphaColor Darkslategrey = TAlphaColor(0xff2f4f4f);
    static const TAlphaColor Darkturquoise = TAlphaColor(0xff00ced1);
    static const TAlphaColor Darkviolet = TAlphaColor(0xff9400d3);
    static const TAlphaColor Deeppink = TAlphaColor(0xffff1493);
    static const TAlphaColor Deepskyblue = TAlphaColor(0xff00bfff);
    static const TAlphaColor Dimgray = TAlphaColor(0xff696969);
    static const TAlphaColor Dimgrey = TAlphaColor(0xff696969);
    static const TAlphaColor Dodgerblue = TAlphaColor(0xff1e90ff);
    static const TAlphaColor Firebrick = TAlphaColor(0xffb22222);
    static const TAlphaColor Floralwhite = TAlphaColor(0xfffffaf0);
    static const TAlphaColor Forestgreen = TAlphaColor(0xff228b22);
    static const TAlphaColor Fuchsia = TAlphaColor(0xffff00ff);
    static const TAlphaColor Gainsboro = TAlphaColor(0xffdcdcdc);
    static const TAlphaColor Ghostwhite = TAlphaColor(0xfff8f8ff);
    static const TAlphaColor Gold = TAlphaColor(0xffffd700);
    static const TAlphaColor Goldenrod = TAlphaColor(0xffdaa520);
    static const TAlphaColor Gray = TAlphaColor(0xff808080);
    static const TAlphaColor Green = TAlphaColor(0xff008000);
    static const TAlphaColor Greenyellow = TAlphaColor(0xffadff2f);
    static const TAlphaColor Grey = TAlphaColor(0xff808080);
    static const TAlphaColor Honeydew = TAlphaColor(0xfff0fff0);
    static const TAlphaColor Hotpink = TAlphaColor(0xffff69b4);
    static const TAlphaColor Indianred = TAlphaColor(0xffcd5c5c);
    static const TAlphaColor Indigo = TAlphaColor(0xff4b0082);
    static const TAlphaColor Ivory = TAlphaColor(0xfffffff0);
    static const TAlphaColor Khaki = TAlphaColor(0xfff0e68c);
    static const TAlphaColor Lavender = TAlphaColor(0xffe6e6fa);
    static const TAlphaColor Lavenderblush = TAlphaColor(0xfffff0f5);
    static const TAlphaColor Lawngreen = TAlphaColor(0xff7cfc00);
    static const TAlphaColor Lemonchiffon = TAlphaColor(0xfffffacd);
    static const TAlphaColor Lightblue = TAlphaColor(0xffadd8e6);
    static const TAlphaColor Lightcoral = TAlphaColor(0xfff08080);
    static const TAlphaColor Lightcyan = TAlphaColor(0xffe0ffff);
    static const TAlphaColor Lightgoldenrodyellow = TAlphaColor(0xfffafad2);
    static const TAlphaColor Lightgray = TAlphaColor(0xffd3d3d3);
    static const TAlphaColor Lightgreen = TAlphaColor(0xff90ee90);
    static const TAlphaColor Lightgrey = TAlphaColor(0xffd3d3d3);
    static const TAlphaColor Lightpink = TAlphaColor(0xffffb6c1);
    static const TAlphaColor Lightsalmon = TAlphaColor(0xffffa07a);
    static const TAlphaColor Lightseagreen = TAlphaColor(0xff20b2aa);
    static const TAlphaColor Lightskyblue = TAlphaColor(0xff87cefa);
    static const TAlphaColor Lightslategray = TAlphaColor(0xff778899);
    static const TAlphaColor Lightslategrey = TAlphaColor(0xff778899);
    static const TAlphaColor Lightsteelblue = TAlphaColor(0xffb0c4de);
    static const TAlphaColor Lightyellow = TAlphaColor(0xffffffe0);
    static const TAlphaColor LtGray = TAlphaColor(0xffc0c0c0);
    static const TAlphaColor MedGray = TAlphaColor(0xffa0a0a0);
    static const TAlphaColor DkGray = TAlphaColor(0xff808080);
    static const TAlphaColor MoneyGreen = TAlphaColor(0xffc0dcc0);
    static const TAlphaColor LegacySkyBlue = TAlphaColor(0xfff0caa6);
    static const TAlphaColor Cream = TAlphaColor(0xfff0fbff);
    static const TAlphaColor Lime = TAlphaColor(0xff00ff00);
    static const TAlphaColor Limegreen = TAlphaColor(0xff32cd32);
    static const TAlphaColor Linen = TAlphaColor(0xfffaf0e6);
    static const TAlphaColor Magenta = TAlphaColor(0xffff00ff);
    static const TAlphaColor Maroon = TAlphaColor(0xff800000);
    static const TAlphaColor Mediumaquamarine = TAlphaColor(0xff66cdaa);
    static const TAlphaColor Mediumblue = TAlphaColor(0xff0000cd);
    static const TAlphaColor Mediumorchid = TAlphaColor(0xffba55d3);
    static const TAlphaColor Mediumpurple = TAlphaColor(0xff9370db);
    static const TAlphaColor Mediumseagreen = TAlphaColor(0xff3cb371);
    static const TAlphaColor Mediumslateblue = TAlphaColor(0xff7b68ee);
    static const TAlphaColor Mediumspringgreen = TAlphaColor(0xff00fa9a);
    static const TAlphaColor Mediumturquoise = TAlphaColor(0xff48d1cc);
    static const TAlphaColor Mediumvioletred = TAlphaColor(0xffc71585);
    static const TAlphaColor Midnightblue = TAlphaColor(0xff191970);
    static const TAlphaColor Mintcream = TAlphaColor(0xfff5fffa);
    static const TAlphaColor Mistyrose = TAlphaColor(0xffffe4e1);
    static const TAlphaColor Moccasin = TAlphaColor(0xffffe4b5);
    static const TAlphaColor Navajowhite = TAlphaColor(0xffffdead);
    static const TAlphaColor Navy = TAlphaColor(0xff000080);
    static const TAlphaColor Oldlace = TAlphaColor(0xfffdf5e6);
    static const TAlphaColor Olive = TAlphaColor(0xff808000);
    static const TAlphaColor Olivedrab = TAlphaColor(0xff6b8e23);
    static const TAlphaColor Orange = TAlphaColor(0xffffa500);
    static const TAlphaColor Orangered = TAlphaColor(0xffff4500);
    static const TAlphaColor Orchid = TAlphaColor(0xffda70d6);
    static const TAlphaColor Palegoldenrod = TAlphaColor(0xffeee8aa);
    static const TAlphaColor Palegreen = TAlphaColor(0xff98fb98);
    static const TAlphaColor Paleturquoise = TAlphaColor(0xffafeeee);
    static const TAlphaColor Palevioletred = TAlphaColor(0xffdb7093);
    static const TAlphaColor Papayawhip = TAlphaColor(0xffffefd5);
    static const TAlphaColor Peachpuff = TAlphaColor(0xffffdab9);
    static const TAlphaColor Peru = TAlphaColor(0xffcd853f);
    static const TAlphaColor Pink = TAlphaColor(0xffffc0cb);
    static const TAlphaColor Plum = TAlphaColor(0xffdda0dd);
    static const TAlphaColor Powderblue = TAlphaColor(0xffb0e0e6);
    static const TAlphaColor Purple = TAlphaColor(0xff800080);
    static const TAlphaColor Red = TAlphaColor(0xffff0000);
    static const TAlphaColor Rosybrown = TAlphaColor(0xffbc8f8f);
    static const TAlphaColor Royalblue = TAlphaColor(0xff4169e1);
    static const TAlphaColor Saddlebrown = TAlphaColor(0xff8b4513);
    static const TAlphaColor Salmon = TAlphaColor(0xfffa8072);
    static const TAlphaColor Sandybrown = TAlphaColor(0xfff4a460);
    static const TAlphaColor Seagreen = TAlphaColor(0xff2e8b57);
    static const TAlphaColor Seashell = TAlphaColor(0xfffff5ee);
    static const TAlphaColor Sienna = TAlphaColor(0xffa0522d);
    static const TAlphaColor Silver = TAlphaColor(0xffc0c0c0);
    static const TAlphaColor Skyblue = TAlphaColor(0xff87ceeb);
    static const TAlphaColor Slateblue = TAlphaColor(0xff6a5acd);
    static const TAlphaColor Slategray = TAlphaColor(0xff708090);
    static const TAlphaColor Slategrey = TAlphaColor(0xff708090);
    static const TAlphaColor Snow = TAlphaColor(0xfffffafa);
    static const TAlphaColor Springgreen = TAlphaColor(0xff00ff7f);
    static const TAlphaColor Steelblue = TAlphaColor(0xff4682b4);
    static const TAlphaColor Tan = TAlphaColor(0xffd2b48c);
    static const TAlphaColor Teal = TAlphaColor(0xff008080);
    static const TAlphaColor Thistle = TAlphaColor(0xffd8bfd8);
    static const TAlphaColor Tomato = TAlphaColor(0xffff6347);
    static const TAlphaColor Turquoise = TAlphaColor(0xff40e0d0);
    static const TAlphaColor Violet = TAlphaColor(0xffee82ee);
    static const TAlphaColor Wheat = TAlphaColor(0xfff5deb3);
    static const TAlphaColor White = TAlphaColor(0xffffffff);
    static const TAlphaColor Whitesmoke = TAlphaColor(0xfff5f5f5);
    static const TAlphaColor Yellow = TAlphaColor(0xffffff00);
    static const TAlphaColor Yellowgreen = TAlphaColor(0xff9acd32);
    static const TAlphaColor Null = TAlphaColor(0x0);
    __fastcall TAlphaColorRec(const TAlphaColor Color);
    static int __fastcall (*ColorToRGB)(TAlphaColor Color);
    TAlphaColorRec() {}
public:
    union
    {
        struct
        {
            System::Byte B;
            System::Byte G;
            System::Byte R;
            System::Byte A;
        };
        struct
        {
            System::Word HiWord;
            System::Word LoWord;
        };
        struct
        {
            TAlphaColor Color;
        };
    };
};

Properties

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

Description

TAlphaColorRec provides access to the color channels record.

Use constants in TAlphaColorRec -- listed in the TAlphaColorRec Colors table -- to obtain access to the underlying color channels for the TAlphaColor type.

The System.UIConsts unit also contains definitions of Alpha colors constants similar for constants in TAlphaColorRec. These constants are listed in the Alpha Colors table. The names of the constants from System.UIConsts are composed of the cla prefix and the color names defined by the TAlphaColorRec record.

Constants in these two tables map directly to the closest matching color in the system palette (for example, Blue and claBlue map to blue).

TAlphaColorRec Colors

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


See Also