Maptitude GISDK Help

ColorRGB()

Summary

Creates a color based on the amounts of red, green and blue.

 

Changes

In Version 6.0/2012 added optional alpha (opacity).

 

Syntax

c = ColorRGB(integer red, integer green, integer blue [, integer alpha])

 

Argument

Contents

red

The amount of red saturation, between 0 (minimum) and 65535 (maximum)

green

The amount of green saturation, between 0 and 65535

blue

The amount of blue saturation, between 0 and 65535

alpha

The amount of opacity, from 0 (clear) to 65535 (completely opaque, the default)

 

Returns

A color (red, green, blue, and alpha).

 

Notes

See Also

Function

Summary

ColorHSV()

Creates a color based on hue, saturation and brightness

ColorHLS()

Creates a color based on hue, lightness and saturation

ColorCIE()

Creates a color based on its (x, y, Y) coordinates in CIE chromaticity space

 

 

©2025 Caliper Corporation www.caliper.com