Declaration
TRGBA = packed record
b: byte;
g: byte;
r: byte;
a: byte;
function ToColor(): TColor;
end;
Description
Stores a color as 8bit Red, Green and Blue channels, plus an alpha (opacity) channel.
The following operations are supported:
if rgba = rgba then...
if rgba <> rgba then...
MyTColor := rgba.ToColor;
Note:
ImageEn visualizers allow you to see a human-readable value when hovering over a color value. You can also click for a preview:
See Also
◼CreateRGBA
◼TColor2TRGBA
◼TRGB2TRGBA
◼TRGB2TColor
◼TRGBA2TRGB