Color_ConvertValueToRGB()

Examples


The Color_ConvertValueToRGB() function converts a color value to its component red, green and blue color levels.

Syntax

Color_ConvertValueToRGB(color_value, red_level, green_level, blue_level)

Parameters

color_value – A long integer containing a color value.

red_level – A returned integer containing the level of red in the color. The value will be between 0 and 255.

green_level – A returned integer containing the level of green in the color. The value will be between 0 and 255.

blue_level – A returned integer containing the level of blue in the color. The value will be between 0 and 255.

Return value

An integer containing the color value.


Documentation Feedback