Applies To:
  • CitectSCADA 5.x

Summary:
If I wish to specifiy a colour with the numeric reference (eg: in Cicode with the DspMarkerNew() function) how do I find the colour codes other that the twenty-three standard colours that are available for use with the Citect system?

Solution:
This table lists the order of the colour pallete as they are seen on the screen in the graphics builder for version 5.x eg: 0 is the colour in the top left corner, 16 is the top left user defined colour.
 

0

129

130

131

132

133

134

135

136

137

138

139

140

141

142

15

40

143

144

145

146

147

148

149

150

151

152

153

154

155

156

47

56

157

158

159

160

161

162

163

164

165

166

167

168

169

170

63

88

171

172

173

174

175

176

177

178

179

180

181

182

183

184

95

120

242

185

243

186

244

187

245

188

246

189

247

190

191

192

127

193

12

194

14

195

10

196

11

197

9

198

13

199

200

201

7

248

60

202

62

203

58

204

59

205

57

206

61

207

208

209

39

249

92

210

94

211

90

212

91

213

89

214

93

215

216

217

55

250

4

218

6

219

2

220

3

221

1

222

5

223

224

225

87

251

52

226

54

227

50

228

51

229

49

230

53

231

232

233

103

128

84

234

86

235

82

236

83

237

81

238

85

239

240

241

8

 

16

80

20

22

18

19

17

21

71

28

30

26

27

25

29

252

32

96

36

38

34

35

33

37

24

44

46

42

43

41

45

31

48

112

68

70

66

67

65

69

72

76

78

74

75

73

77

79

64

253

100

102

98

99

97

101

104

108

110

106

107

105

109

111

254

255

116

118

114

115

113

117

119

124

126

122

123

121

125

23

Please Note: Modifying the standard colours will probably lead to some incompatibility with a future version of Citect.

 

Keywords:
 

Attachments