The Color_ConvertValueToRGB() function converts a color value to its component red, green and blue color levels.
Color_ConvertValueToRGB(color_value, red_level, green_level, blue_level)
• 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.
An integer containing the color value.