PV RGB to color
version 6.8
PV RGB to color (red; green; blue) Longint
Parameter | Type | Description | |
red | Integer | Red component (0 to 255) | |
green | Integer | Green component (0 to 255) | |
blue | Integer | Blue component (0 to 255) |
Function result Longint Color
Description
The PV RGB to color command returns a long integer defining the RGB color, which results in a color from the red, green, and blue component.
Refer to 4D command SET RGB COLORS for detailed information on the color system used by 4D.
Example
Refer to the example for the PV Color to index command.
See Also