Combines Red, Green and Blue values into an TColorRef value.
Source position: winapih.inc line 350
function RGB( |
R: Byte; |
G: Byte; |
B: Byte |
):TColorRef; |
R |
|
The value of the red channel. zero indicates no contribution, 255 indicates a full red channel. |
G |
|
The value of the green channel. |
B |
|
The value of the blue channel. |
The combined COLORREF created with the given color channels.
The bytes are shifted into place, following the format $00bbggrr, which is the format of the Windows API type COLORREF. Their actual physical order depends on the endian-ness of the machine.
CT Web help |
CodeTyphon Studio |