CREATE COLOR Examples
Example 1:
|
|
|
|
|
|
|
|
|
|
|
|
This instruction creates a COLOR object that has a red component of 48, a green component of 10 and a blue component of 25
Example 2:
|
|
|
|
|
|
|
|
|
|
|
|
This instruction creates a COLOR object that is BLUE.
Example 3:
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
This example opens a COLOR dialog. Upon selecting a color, the twenty-four bit value is displayed along with the red, green and blue values. When the Exit BUTTON is clicked, the program terminates.
![]() |