[Overview][Types][Procedures and functions][Variables][Index] |
Combines Red, Green and Blue values into an TColorRef value.
Source position: winapih.inc line 344
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 endianness of the machine.
lazarus-ccr.sourceforge.net |