.COLOR SET BRIGHTNESS
Sets the brightness of the "current" Color Object.
Usage:
PASS <brightness> FIELD SHARE? N
GOSUB 0CD .COLOR SET BRIGHTNESS
* Check for error
IF 0CD .COLOR SET BRIGHTNESS NE
Description:
Sets the brightness of the "current" Color Object.
<brightness> can range from 0 to 255. A brightness less than 1 means the color is darkened, while a brightness greater than 1 means the color is brightened. For example, a brightness of 0.5 means the color is half as bright as the original color. If the original color is red, the color will become dark red. Conversely, a brightness of 2 means the color is twice as bright as the original color. If the original color is red, the color will become light red.
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-16