.COLOR SET COLOR:RGB
Sets the individual colors of the "current" Color object.
Usage:
PASS <red> FIELD SHARE? N
PASS <green> FIELD SHARE? N
PASS <blue> FIELD SHARE? N
PASS <alpha> FIELD SHARE? N
GOSUB 0CD .COLOR SET COLOR:RGB
* Check for error
IF 0CD .COLOR SET COLOR:RGB NE
Description:
This routine sets the color of the "current" Color Object using individual values for the Red, Green, Blue and Alpha (or transparent) channel. The <red>, <green> and <blue> parameters must be passed or else the routine will cancel. The <alpha> parameter is optional. All parameters must be in the range of 1-255 decimal, or 0x00 to 0xFF hexidecimal.
Also see
.COLOR SET COLOR:R,
.COLOR SET COLOR:G,
.COLOR SET COLOR:B and
.COLOR SET COLOR:A to set these individually.
See
ColorSpec for more information on working with colors.
Comments:
Read what other users have said about this page or add your own comments.
--
JeanNeron - 2011-11-15