4D View v14PV RGB to color |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v14
PV RGB to color
|
PV RGB to color ( red ; green ; blue ) -> Function result | ||||||||
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 | |||||
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 OBJECT SET RGB COLORS command for detailed information on the color system used by 4D.
Note: Internal coding of 4D View colors is of the BGR type, which is reversed with respect to 4D's RGB coding; however, the principles of use are the same.
Refer to the example for the PV Color to index command.
Product: 4D View
Theme: PV Tools
Number:
15872
Created: 4D View 6.8
4D View Language ( 4D View v11.4)
4D View Language ( 4D View v12)
4D View Language ( 4D View v14)
4D View Language ( 4D v13)
4D View Language ( 4D View v14 R2)
4D View Language ( 4D View v14 R3)
4D View Language ( 4D View v14 R4)