Green

[property icon] Green

Changes the RGB values for a color object

Integer property

Applies to: Color Object , Stock Color Object


>

Green

Used to specify the green component of the RGB value of a custom color object. Colors are specified by their Red, Green and Blue components. This value must be an integer ranging from 0 to 255. The higher the value the stronger that color will be. White corresponds to an RGB value of (255,255,255) and Black is (0,0,0). For example:

.color1.green = 0
.color1.red = 200
.color1.red = 0

would set the color of the object to a quite solid red. This color would then apply to any controls that use the .color1 color object.

See also

Color Object methods, properties and events. Stock Color Object methods, properties and events.