Command PV RGB to color

4D View

PV RGB to color

version 6.8


PV RGB to color (red; green; blue) Longint

ParameterTypeDescription
redIntegerRed component (0 to 255)
greenIntegerGreen component (0 to 255)
blueIntegerBlue component (0 to 255)

Function result Longint Color

Description

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 command SET RGB COLORS for detailed information on the color system used by 4D.

Example

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

See Also

PV COLOR TO RGB.