Configure colors for ActiveX Controls
- Last UpdatedJun 19, 2024
- 1 minute read
You specify a color as an integer value. The alarm ActiveX controls use the ABGR model for specifying color as a 32-bit integer, where:
A = Transparency
B = Blue
G = Green
R = Red
Transparency is not supported by the alarm ActiveX controls. Any values for the upper 8 bits are ignored.
For example, to set the color to Blue, use the following ABGR values:
A = 0
B = 255
G = 0
R = 0
The hexadecimal value for this color is 0x00FF0000. The decimal value is 16711680.
The following table shows examples of colors you can use:
|
Color |
Hexidecimal Value |
Decimal Value |
|---|---|---|
|
White |
0x00FFFFFF |
16777215 |
|
Black |
0x00000000 |
0 |
|
Blue |
0x00FF0000 |
16711680 |
|
Red |
0x000000E1 |
225 |
|
Green |
0x0000FF00 |
65280 |