.COLOR SET COLOR:G

Sets the green value of the "current" Color object.


Usage:

      PASS         <green_color_value>        FIELD            SHARE? N
      GOSUB    0CD .COLOR SET COLOR:G
      *        Check for error
      IF       0CD .COLOR SET COLOR:G         NE

Description:

This routine sets the green value of the "current" Color Object. <green_color_value> must be in the range of 1-255 decimal, or 0x00 to 0xFF hexidecimal. A blank will reset the value to the default.

Also see .COLOR SET COLOR:RGB, .COLOR SET COLOR:R, .COLOR SET COLOR:B and .COLOR SET COLOR:A.

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
Topic revision: r4 - 08 Oct 2026, AdminUser - This page was cached on 10 Oct 2026 - 23:35.

Powered by Foswiki. Wiki content belongs to its contributing authors.