CAPL Script

MakeRGB

Syntax

long MakeRGB(long Red, long Green, long Blue);

Function

Calculates the color value from the three primary color components.

Parameters

Red Red color component (0 - 255)

Green

Green color component (0 - 255)

Blue

Blue color component (0 - 255)

Return Values

Color value (type: long)

MakeRGB(0, 255, 149);

MakeARGB