Specifying Colors in 4D Chart Commands

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1.5


There are three ways to specify a color in 4D Chart:

RGB: Red, green, and blue values (3 longints).

Index: Colors 1 through 256 in the 4th Dimension palette, which are displayed in the Fill Color, Line Color, and Text Color submenus if your monitor is set for 256 colors (1 integer).

Color: An internal value used by 4D Chart (1 longint).

The utility commands discussed in this section convert color values between these three conventions. The Chart and Object theme commands in expect the Color longint as a parameter.

See Also

CT Color to index, CT COLOR TO RGB, CT Index to color, CT RGB to color.


4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next