CAPL Script

MakeARGB

Syntax

long MakeARGB(long Alpha, long Red, long Green, long Blue);

Function

Calculates the color value from the alpha value and the three primary color components.

Parameters

Alpha The transparency of the color (0 - 255)

Red

Red color component (0 - 255)

Green

Green color component (0 - 255)

Blue

Blue color component (0 - 255)

Return Values

Color value (type: dword)

MakeARGB(255, 0, 255, 149);

MakeRGB