4D v13

PV Index to color

Home

 
4D View v13
PV Index to color

PV Index to color 


 

PV Index to color ( index ) -> Function result 
Parameter Type   Description
index  Integer in Indexed color number
Function result  Longint in Color number

The PV Index to color command returns the corresponding RGB color number, in the 4D palette, to the number index.

The three RGB components can later be extracted from this result using the PV COLOR TO RGB command. 4D's indexed colors range from 0 to 255.

Refer to the descriptions of the following 4D commands for detailed information on the RGB colors used by 4D:

Example  

Refer to the examples for the PV SET RANGE BORDER and PV Color to index commands.

 
PROPERTIES 

Product: 4D
Theme: PV Tools
Number: 15862

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV Color to index