4D Chart v13

CT Index to color

Home

 
4D Chart v13
CT Index to color

CT Index to color 


 

CT Index to color ( index ) -> Function result 
Parameter Type   Description
index  Integer in Palette index
Function result  Longint in Color described by index

CT Index to color returns the color described by index.

index is an integer that specifies a particular color on the 4D color palette. Colors on the 4D palette are numbered from 1 to 256.

CT Index to color is a convenient way to specify a color without knowing the individual components.

Example  

This example places the color value of the color Cyan (palette index #8) into the vColor variable:

 vColor:=CT Index to color(8)

 
PROPERTIES 

Product: 4D Chart
Theme: CT Utilities
Number: 14579

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT Color to index
CT COLOR TO RGB
CT RGB to color