RGB Technical Reference

Overview

RGB.dat file

Default color mappings for alarm class colors.

Alarm State and Color Index Animation and RGB.dat Files

Import Screens from a CIMPLICITY System… and RGB.dat Files

Overview

Each RGB color is:

Made up of a balance of red, green, and blue luminosity values ranging from 0 to 255.

Example

Single Color

 

Red

Green

Blue

Total Color

0

0

0

Black

128

0

128

Purple

255

255

255

White

Identified by an index number

Example

 

Single Color

 

Index No.

Red

Green

Blue

Total Color

1

255

0

0

Red

RBG.dat file

The RBG Editor lists the CIMPLICITY default entries in an RGB.dat file; when you change default entries or add entries in the RGB Editor.

You may need to edit  the REG Editor to:

Change the default indexes for

Alarm State animation

Color Index animation

Add additional indices.

You will need the RGB.dat file to:

Import screens from a CIMPLICITY System-I/U, -D/V, -H/U, or -RS/U system that do not use the default color mappings.

If you change the file on a:

CIMPLICITY Server, you will need to store a copy of the RGB.dat file in each project's \data directory.

CIMPLICITY Viewer, you will need to store it in the \data directory under the main directory where your CIMPLICITY software is installed.

Default Color Mappings for Alarm Class Colors

The default color mappings used by the Alarm Viewer and Alarm Class Configuration to assign foreground and background colors to alarms in an RGB.dat file are:

Number

Red

Green

Blue

Total Color

0

0

0

0

Black

1

255

0

0

Red

2

0

255

0

Lime

3

0

0

255

Blue

4

128

0

0

Maroon

5

0

128

0

Green

6

128

0

128

Purple

7

255

255

255

White

8

0

128

128

Teal

9

128

128

128

Gray

10

128

128

0

Olive Green

11

32

64

64

(Dark)

12

224

176

160

(Rose)

13

255

0

255

Fuchsia

14

0

255

255

Aqua

15

255

255

0

Yellow

Alarm State and Color Index Animation and RGB.dat Files

The default colors used by Alarm State and Color Index animation are:

Index Numbers

Description

0–15

Default colors used (also used by the Alarm Viewer and Alarm Strings).

16–63

Rainbow colors.

64–95

Gray tones.

96-255

Available for other purposes

Notes

For Alarm State and Color Index animation, if an index value does not have a defined color and an object's color has been assigned that index value, the color displays as black.

You can open an RGB Editor through this tab and add additional index numbers and assignments to the list. The list can total 1024 assignments, numbers that can be used are 0 -1023.

Import Screens from a CIMPLICITY System… and RGB.dat Files

Imported Screens from a CIMPLICITY System…

When you import screens from a CIMPLICITY System-I/U, -D/V, -H/U, or -RS/U system that do not use the default color mappings you will need to create an RGB.dat file.

If you are importing screen files from a CIMPLICITY System-D/V, -H/U, -I/U, or
-RS/U system, the color mappings should match the RGB.dat file on that system.

If the system you are importing from does not use the default color mappings, you will have to create an RGB.DAT file that matches the one on the source system to display its screens correctly.

You should use the same color mappings for all projects.

More information

3.3. Index custom colors and entries.