RGB
When using TrendSpec, you can specify an RGB color value for various elements of a Trend, including the trace (LineColour), X-Axis and Y-Axis. The colors you specify will be applied to the Trend. If you do not include an RGB value for an element in your TrendSpec, ClearSCADA will use a default color instead.
To define an RGB color value, you need to use the following format:
<Identifier> = RGB(<red intensity>,<green intensity>,<blue intensity>)
where each color intensity is an integer between 0 and 255 inclusive (with RGB(0,0,0) being black and RGB(255,255,255) being white).
Example:
LineColour = RGB(204,102,0)
(to display a TRACE in light brown)
You can use the Color window to find the RGB values for a specific color (see Using the Color Window to Define a Color).
If you do not specify colors for the various Trend elements, parts of the Trend may be difficult to view. This is because the colors you have specified may be the same as the default colors. For example, if you set a black background and no line color, the Trend will have a black trace against a black background. For this reason, we recommend that you specify suitable RGB colors for each of the properties that can have an RGB value.
After using TrendSpec to create a Trend, you may decide to add a trace to the Trend by using the 'drag and drop' technique (see Add a Trace to a Trend). When you do this, ClearSCADA will detect which background color is in place for your Trend and will attempt to apply a contrasting color to the new trace automatically.