QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RColorCodes.h
Go to the documentation of this file.
1 
20 const double RColor::cadColors[][3] = {
21  {0,0,0}, // ByBlock (unused in this array)
22  {1,0,0}, // 1
23  {1,1,0},
24  {0,1,0},
25  {0,1,1},
26  {0,0,1},
27  {1,0,1},
28  {1,1,1}, // black or white
29  {0.5,0.5,0.5},
30  {0.75,0.75,0.75},
31  {1,0,0}, // 10
32  {1,0.5,0.5},
33  {0.65,0,0},
34  {0.65,0.325,0.325},
35  {0.5,0,0},
36  {0.5,0.25,0.25},
37  {0.3,0,0},
38  {0.3,0.15,0.15},
39  {0.15,0,0},
40  {0.15,0.075,0.075},
41  {1,0.25,0}, // 20
42  {1,0.625,0.5},
43  {0.65,0.1625,0},
44  {0.65,0.4063,0.325},
45  {0.5,0.125,0},
46  {0.5,0.3125,0.25},
47  {0.3,0.075,0},
48  {0.3,0.1875,0.15},
49  {0.15,0.0375,0},
50  {0.15,0.0938,0.075},
51  {1,0.5,0}, // 30
52  {1,0.75,0.5},
53  {0.65,0.325,0},
54  {0.65,0.4875,0.325},
55  {0.5,0.25,0},
56  {0.5,0.375,0.25},
57  {0.3,0.15,0},
58  {0.3,0.225,0.15},
59  {0.15,0.075,0},
60  {0.15,0.1125,0.075},
61  {1,0.75,0}, // 40
62  {1,0.875,0.5},
63  {0.65,0.4875,0},
64  {0.65,0.5688,0.325},
65  {0.5,0.375,0},
66  {0.5,0.4375,0.25},
67  {0.3,0.225,0},
68  {0.3,0.2625,0.15},
69  {0.15,0.1125,0},
70  {0.15,0.1313,0.075},
71  {1,1,0}, // 50
72  {1,1,0.5},
73  {0.65,0.65,0},
74  {0.65,0.65,0.325},
75  {0.5,0.5,0},
76  {0.5,0.5,0.25},
77  {0.3,0.3,0},
78  {0.3,0.3,0.15},
79  {0.15,0.15,0},
80  {0.15,0.15,0.075},
81  {0.75,1,0}, // 60
82  {0.875,1,0.5},
83  {0.4875,0.65,0},
84  {0.5688,0.65,0.325},
85  {0.375,0.5,0},
86  {0.4375,0.5,0.25},
87  {0.225,0.3,0},
88  {0.2625,0.3,0.15},
89  {0.1125,0.15,0},
90  {0.1313,0.15,0.075},
91  {0.5,1,0}, // 70
92  {0.75,1,0.5},
93  {0.325,0.65,0},
94  {0.4875,0.65,0.325},
95  {0.25,0.5,0},
96  {0.375,0.5,0.25},
97  {0.15,0.3,0},
98  {0.225,0.3,0.15},
99  {0.075,0.15,0},
100  {0.1125,0.15,0.075},
101  {0.25,1,0}, // 80
102  {0.625,1,0.5},
103  {0.1625,0.65,0},
104  {0.4063,0.65,0.325},
105  {0.125,0.5,0},
106  {0.3125,0.5,0.25},
107  {0.075,0.3,0},
108  {0.1875,0.3,0.15},
109  {0.0375,0.15,0},
110  {0.0938,0.15,0.075},
111  {0,1,0}, // 90
112  {0.5,1,0.5},
113  {0,0.65,0},
114  {0.325,0.65,0.325},
115  {0,0.5,0},
116  {0.25,0.5,0.25},
117  {0,0.3,0},
118  {0.15,0.3,0.15},
119  {0,0.15,0},
120  {0.075,0.15,0.075},
121  {0,1,0.25}, // 100
122  {0.5,1,0.625},
123  {0,0.65,0.1625},
124  {0.325,0.65,0.4063},
125  {0,0.5,0.125},
126  {0.25,0.5,0.3125},
127  {0,0.3,0.075},
128  {0.15,0.3,0.1875},
129  {0,0.15,0.0375},
130  {0.075,0.15,0.0938},
131  {0,1,0.5}, // 110
132  {0.5,1,0.75},
133  {0,0.65,0.325},
134  {0.325,0.65,0.4875},
135  {0,0.5,0.25},
136  {0.25,0.5,0.375},
137  {0,0.3,0.15},
138  {0.15,0.3,0.225},
139  {0,0.15,0.075},
140  {0.075,0.15,0.1125},
141  {0,1,0.75}, // 120
142  {0.5,1,0.875},
143  {0,0.65,0.4875},
144  {0.325,0.65,0.5688},
145  {0,0.5,0.375},
146  {0.25,0.5,0.4375},
147  {0,0.3,0.225},
148  {0.15,0.3,0.2625},
149  {0,0.15,0.1125},
150  {0.075,0.15,0.1313},
151  {0,1,1}, // 130
152  {0.5,1,1},
153  {0,0.65,0.65},
154  {0.325,0.65,0.65},
155  {0,0.5,0.5},
156  {0.25,0.5,0.5},
157  {0,0.3,0.3},
158  {0.15,0.3,0.3},
159  {0,0.15,0.15},
160  {0.075,0.15,0.15},
161  {0,0.75,1}, // 140
162  {0.5,0.875,1},
163  {0,0.4875,0.65},
164  {0.325,0.5688,0.65},
165  {0,0.375,0.5},
166  {0.25,0.4375,0.5},
167  {0,0.225,0.3},
168  {0.15,0.2625,0.3},
169  {0,0.1125,0.15},
170  {0.075,0.1313,0.15},
171  {0,0.5,1}, // 150
172  {0.5,0.75,1},
173  {0,0.325,0.65},
174  {0.325,0.4875,0.65},
175  {0,0.25,0.5},
176  {0.25,0.375,0.5},
177  {0,0.15,0.3},
178  {0.15,0.225,0.3},
179  {0,0.075,0.15},
180  {0.075,0.1125,0.15},
181  {0,0.25,1}, // 160
182  {0.5,0.625,1},
183  {0,0.1625,0.65},
184  {0.325,0.4063,0.65},
185  {0,0.125,0.5},
186  {0.25,0.3125,0.5},
187  {0,0.075,0.3},
188  {0.15,0.1875,0.3},
189  {0,0.0375,0.15},
190  {0.075,0.0938,0.15},
191  {0,0,1}, // 170
192  {0.5,0.5,1},
193  {0,0,0.65},
194  {0.325,0.325,0.65},
195  {0,0,0.5},
196  {0.25,0.25,0.5},
197  {0,0,0.3},
198  {0.15,0.15,0.3},
199  {0,0,0.15},
200  {0.075,0.075,0.15},
201  {0.25,0,1}, // 180
202  {0.625,0.5,1},
203  {0.1625,0,0.65},
204  {0.4063,0.325,0.65},
205  {0.125,0,0.5},
206  {0.3125,0.25,0.5},
207  {0.075,0,0.3},
208  {0.1875,0.15,0.3},
209  {0.0375,0,0.15},
210  {0.0938,0.075,0.15},
211  {0.5,0,1}, // 190
212  {0.75,0.5,1},
213  {0.325,0,0.65},
214  {0.4875,0.325,0.65},
215  {0.25,0,0.5},
216  {0.375,0.25,0.5},
217  {0.15,0,0.3},
218  {0.225,0.15,0.3},
219  {0.075,0,0.15},
220  {0.1125,0.075,0.15},
221  {0.75,0,1}, // 200
222  {0.875,0.5,1},
223  {0.4875,0,0.65},
224  {0.5688,0.325,0.65},
225  {0.375,0,0.5},
226  {0.4375,0.25,0.5},
227  {0.225,0,0.3},
228  {0.2625,0.15,0.3},
229  {0.1125,0,0.15},
230  {0.1313,0.075,0.15},
231  {1,0,1}, // 210
232  {1,0.5,1},
233  {0.65,0,0.65},
234  {0.65,0.325,0.65},
235  {0.5,0,0.5},
236  {0.5,0.25,0.5},
237  {0.3,0,0.3},
238  {0.3,0.15,0.3},
239  {0.15,0,0.15},
240  {0.15,0.075,0.15},
241  {1,0,0.75}, // 220
242  {1,0.5,0.875},
243  {0.65,0,0.4875},
244  {0.65,0.325,0.5688},
245  {0.5,0,0.375},
246  {0.5,0.25,0.4375},
247  {0.3,0,0.225},
248  {0.3,0.15,0.2625},
249  {0.15,0,0.1125},
250  {0.15,0.075,0.1313},
251  {1,0,0.5}, // 230
252  {1,0.5,0.75},
253  {0.65,0,0.325},
254  {0.65,0.325,0.4875},
255  {0.5,0,0.25},
256  {0.5,0.25,0.375},
257  {0.3,0,0.15},
258  {0.3,0.15,0.225},
259  {0.15,0,0.075},
260  {0.15,0.075,0.1125},
261  {1,0,0.25}, // 240
262  {1,0.5,0.625},
263  {0.65,0,0.1625},
264  {0.65,0.325,0.4063},
265  {0.5,0,0.125},
266  {0.5,0.25,0.3125},
267  {0.3,0,0.075},
268  {0.3,0.15,0.1875},
269  {0.15,0,0.0375},
270  {0.15,0.075,0.0938},
271  {0.33,0.33,0.33}, // 250
272  {0.464,0.464,0.464},
273  {0.598,0.598,0.598},
274  {0.732,0.732,0.732},
275  {0.866,0.866,0.866},
276  {1,1,1} // 255
277  };