ImageEn, unit iexDefs

TRGB

TRGB

Declaration

TRGB = packed record
  B: Byte;
  G: Byte;
  R: Byte;

  function ToColor(): TColor;
end;

Description

Stores a color as 8bit Red, Green and Blue channels.

The following operations are supported:
if rgb = rgb then...
if rgb <> rgb then...
rgb := TRGB( MyTColor );
MyTColor := rgb.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

CreateRGB
IERGBToColor
IERGBToRGBA
IEColorToRGB
IERGBAToRGB