*Colour Define

<< Click to Display Table of Contents >>

Navigation:  Flexcom > Data Inputs > $MODEL >

*Colour Define

Previous pageNext page

Purpose

To define a specific colour using RGB colour coding.

Theory

Refer to Model View for further information on this feature.

Keyword Format

A pair of lines, repeated as often as necessary.

NAME=Colour Name

Red Value, Green Value, Blue Value, Alpha Value

Note that Colour Name must not be the same as a predefined colour name. Refer to the *SET COLOURS keyword for a full list of predefined colour names.

The Red, Green & Blue values are integers ranging from 0 to 255 which represent the amounts of the primary colours red, green or blue in the colour being defined.

Alpha Value defines a transparency value in the range 0 to 255, 0 being fully transparent and 255 being fully opaque.

Table Input

Input:

Description

Colour Name

The name of the colour to be defined. See Note (a).

Red Value

Must be an integer between 0 and 255. See Note (b).

Green Value

Must be an integer between 0 and 255. See Note (b).

Blue Value

Must be an integer between 0 and 255. See Note (b).

Alpha Value

Must be an integer between 0 and 255. See Note (c).

Notes

a)Colour Name cannot be the same as a predefined colour name. Refer to the *SET COLOURS keyword for a full list of predefined colour names.

b)Red, Green & Blue values are integers ranging from 0 to 255.

c)Alpha Value is an integer from 0 to 255 representing transparency, 0 being fully transparent and 255 fully opaque.