en:rgb [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

en:rgb

## Rgb (Function)

### Format

rgb(red, green, blue )
rgb(red, green, blue, alpha )

returns integer_value

### Description

Returns the ARGB value of the color made up of the red, green, and blue components. Legal values for red, green, blue, and alpha are 0 to 255. if alpha (transparency) is not defined then 255 will be used making the color opaque (not-transparent).

### See Also

Color, GetBrushColor, GetColor, Rgb

### History

0.9.5m | New to version
0.9.9.28 | added alpha (transparency}

en/rgb.txt · Last modified: 2014/02/08 22:51 by admin