4D View v14

PV RGB to color

Home

 
4D View v14
PV RGB to color

PV RGB to color 


 

PV RGB to color ( red ; green ; blue ) -> Function result 
Parameter Type   Description
red  Integer in Red component (0 to 255)
green  Integer in Green component (0 to 255)
blue  Integer in Blue component (0 to 255)
Function result  Longint in 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.

Example  

Refer to the example for the PV Color to index command.

 
PROPERTIES 

Product: 4D View
Theme: PV Tools
Number: 15872

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV COLOR TO RGB

 
ARTICLE USAGE

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)