Table 6.224 — DRM_RGB_Colour

Property

Description

Class

  • <DRM RGB Colour>

Superclass

Subclass

  • None.

Definition

An instance of this DRM class specifies the actual Red, Green, and Blue data values for a colour defined within the Red Green Blue colour model. These values shall be in the range [0,0..1,0].

The RGB colour model isoften visualized as a cube where the Red, Green, and Blue values define coordinates within the cube.

The rgb_data field specifies the RGB colour coordinate.

Clarifications

None.

Class diagram

Figure 6.269 — DRM_RGB_Colour

Inherited field elements

Field name

Range

Field data type

None

   

Field elements

Field name

Range

Field data type

rgb_data

 

RGB_Data

Associated to (one-way) (inherited)

  • None.

Associated to (one-way)

  • None.

Associated by (one-way) (inherited)

  • None.

Associated by (one-way)

  • None.

Associated with (two-way) (inherited)

  • None.

Associated with (two-way)

  • None.

Composed of (two-way) (inherited)

  • None.

Composed of (two-way)

Composed of (two-way metadata) (inherited)

  • None.

Composed of (two-way metadata)

  • None.

Component of (two-way) (inherited)

Component of (two-way)

  • None.

Constraints

Example(s)

  • An RGB colour for pure black:

    rgb_data = { red   = 0,0,
                 green = 0,0,
                 blue  = 0,0 }
  • An RGB colour for bright red:

    rgb_data = { red   = 1,0,
                 green = 0,0,
                 blue  = 0,0 }