svn-gvsig-desktop / branches / CqCMSGisPlanet / libraries / libCq CMS for java.old / src / org / cresques / px / dxf / AcadColor.java @ 1932
History | View | Annotate | Download (15.2 KB)
1 |
/*
|
---|---|
2 |
* Created on 06-may-2004
|
3 |
*/
|
4 |
|
5 |
package org.cresques.px.dxf; |
6 |
|
7 |
import java.awt.Color; |
8 |
|
9 |
/**
|
10 |
* Colores RGB a partir de c?digos de color de AutoCAD
|
11 |
*
|
12 |
* @author "Luis W. Sevilla" <sevilla_lui@gva.es>
|
13 |
*/
|
14 |
public class AcadColor { |
15 |
public final static int BYLAYER = 256; |
16 |
public final static int BYBLOCK = 0; |
17 |
private static AcadColor[] colores = initTable(); |
18 |
int code;
|
19 |
float r0, g0, b0;
|
20 |
int r, g, b;
|
21 |
Color color = null; |
22 |
|
23 |
public AcadColor(int code, double r0, double g0, double b0, double r, double g, double b) { |
24 |
this.code = code;
|
25 |
this.r0 = (float) r0; this.g0 = (float) g0; this.b0 = (float) b0; |
26 |
this.r = (int) r; this.g = (int) g; this.b = (int) b; |
27 |
this.color = new Color(this.r, this.g, this.b); |
28 |
colores[code] = this;
|
29 |
} |
30 |
|
31 |
public static Color getColor(int code) { |
32 |
return colores[code].color;
|
33 |
} |
34 |
|
35 |
public static AcadColor [] initTable() { |
36 |
colores = new AcadColor[256]; |
37 |
|
38 |
new AcadColor(0, 0, 0, 0, 0, 0, 0); |
39 |
|
40 |
new AcadColor(1, 1, 0, 0, 255, 0, 0); |
41 |
new AcadColor(2, 1, 1, 0, 255, 255, 0); |
42 |
new AcadColor(3, 0, 1, 0, 0, 255, 0); |
43 |
new AcadColor(4, 0, 1, 1, 0, 255, 255); |
44 |
new AcadColor(5, 0, 0, 1, 0, 0, 255); |
45 |
new AcadColor(6, 1, 0, 1, 255, 0, 255); |
46 |
new AcadColor(7, 0, 0, 0, 0, 0, 0); |
47 |
new AcadColor(8, 0, 0, 0, 0, 0, 0); |
48 |
new AcadColor(9, 0, 0, 0, 0, 0, 0); |
49 |
new AcadColor(10, 1, 0, 0, 255, 0, 0); |
50 |
new AcadColor(11, 1.0, 0.5, 0.5, 255.0, 127.5, 127.5); |
51 |
new AcadColor(12, 0.65, 0, 0, 165.75, 0, 0); |
52 |
new AcadColor(13, 0.65, 0.325, 0.325, 165.75, 82.875, 82.875); |
53 |
new AcadColor(14, 0.5, 0, 0, 127.5, 0, 0); |
54 |
new AcadColor(15, 0.5, 0.25, 0.25, 127.5, 63.75, 63.75); |
55 |
new AcadColor(16, 0.3, 0, 0, 76.5, 0, 0); |
56 |
new AcadColor(17, 0.3, 0.15, 0.15, 76.5, 38.25, 38.25); |
57 |
new AcadColor(18, 0.15, 0, 0, 38.25, 0, 0); |
58 |
new AcadColor(19, 0.15, 0.075, 0.075, 38.25, 19.125, 19.125); |
59 |
new AcadColor(20, 1, 0.25, 0, 255, 63.75, 0); |
60 |
new AcadColor(21, 1, 0.625, 0.5, 255, 159.375, 127.5); |
61 |
new AcadColor(22, 0.65, 0.1625, 0, 165.75, 41.4375, 0); |
62 |
new AcadColor(23, 0.65, 0.4063, 0.325, 165.75, 103.6065, 82.875); |
63 |
new AcadColor(24, 0.5, 0.125, 0, 127.5, 31.875, 0); |
64 |
new AcadColor(25, 0.5, 0.3125, 0.25, 127.5, 79.6875, 63.75); |
65 |
new AcadColor(26, 0.3, 0.075, 0, 76.5, 19.125, 0); |
66 |
new AcadColor(27, 0.3, 0.1875, 0.15, 76.5, 47.8125, 38.25); |
67 |
new AcadColor(28, 0.15, 0.0375, 0, 38.25, 9.5625, 0); |
68 |
new AcadColor(29, 0.15, 0.0938, 0.075, 38.25, 23.919, 19.125); |
69 |
new AcadColor(30, 1, 0.5, 0, 255, 127.5, 0); |
70 |
new AcadColor(31, 1, 0.75, 0.5, 255, 191.25, 127.5); |
71 |
new AcadColor(32, 0.65, 0.325, 0, 165.75, 82.875, 0); |
72 |
new AcadColor(33, 0.65, 0.4875, 0.325, 165.75, 124.3125, 82.875); |
73 |
new AcadColor(34, 0.5, 0.25, 0, 127.5, 63.75, 0); |
74 |
new AcadColor(35, 0.5, 0.375, 0.25, 127.5, 95.625, 63.75); |
75 |
new AcadColor(36, 0.3, 0.15, 0, 76.5, 38.25, 0); |
76 |
new AcadColor(37, 0.3, 0.225, 0.15, 76.5, 57.375, 38.25); |
77 |
new AcadColor(38, 0.15, 0.075, 0, 38.25, 19.125, 0); |
78 |
new AcadColor(39, 0.15, 0.1125, 0.075, 38.25, 28.6875, 19.125); |
79 |
new AcadColor(40, 1, 0.75, 0, 255, 191.25, 0); |
80 |
new AcadColor(41, 1, 0.875, 0.5, 255, 223.125, 127.5); |
81 |
new AcadColor(42, 0.65, 0.4875, 0, 165.75, 124.3125, 0); |
82 |
new AcadColor(43, 0.65, 0.5688, 0.325, 165.75, 145.044, 82.875); |
83 |
new AcadColor(44, 0.5, 0.375, 0, 127.5, 95.625, 0); |
84 |
new AcadColor(45, 0.5, 0.4375, 0.25, 127.5, 111.5625, 63.75); |
85 |
new AcadColor(46, 0.3, 0.225, 0, 76.5, 57.375, 0); |
86 |
new AcadColor(47, 0.3, 0.2625, 0.15, 76.5, 66.9375, 38.25); |
87 |
new AcadColor(48, 0.15, 0.1125, 0, 38.25, 28.6875, 0); |
88 |
new AcadColor(49, 0.15, 0.1313, 0.075, 38.25, 33.4815, 19.125); |
89 |
new AcadColor(50, 1, 1, 0, 255, 255, 0); |
90 |
new AcadColor(51, 1, 1, 0.5, 255, 255, 127.5); |
91 |
new AcadColor(52, 0.65, 0.65, 0, 165.75, 165.75, 0); |
92 |
new AcadColor(53, 0.65, 0.65, 0.325, 165.75, 165.75, 82.875); |
93 |
new AcadColor(54, 0.5, 0.5, 0, 127.5, 127.5, 0); |
94 |
new AcadColor(55, 0.5, 0.5, 0.25, 127.5, 127.5, 63.75); |
95 |
new AcadColor(56, 0.3, 0.3, 0, 76.5, 76.5, 0); |
96 |
new AcadColor(57, 0.3, 0.3, 0.15, 76.5, 76.5, 38.25); |
97 |
new AcadColor(58, 0.15, 0.15, 0, 38.25, 38.25, 0); |
98 |
new AcadColor(59, 0.15, 0.15, 0.075, 38.25, 38.25, 19.125); |
99 |
new AcadColor(60, 0.75, 1, 0, 191.25, 255, 0); |
100 |
new AcadColor(61, 0.875, 1, 0.5, 223.125, 255, 127.5); |
101 |
new AcadColor(62, 0.4875, 0.65, 0, 124.3125, 165.75, 0); |
102 |
new AcadColor(63, 0.5688, 0.65, 0.325, 145.044, 165.75, 82.875); |
103 |
new AcadColor(64, 0.375, 0.5, 0, 95.625, 127.5, 0); |
104 |
new AcadColor(65, 0.4375, 0.5, 0.25, 111.5625, 127.5, 63.75); |
105 |
new AcadColor(66, 0.225, 0.3, 0, 57.375, 76.5, 0); |
106 |
new AcadColor(67, 0.2625, 0.3, 0.15, 66.9375, 76.5, 38.25); |
107 |
new AcadColor(68, 0.1125, 0.15, 0, 28.6875, 38.25, 0); |
108 |
new AcadColor(69, 0.1313, 0.15, 0.075, 33.4815, 38.25, 19.125); |
109 |
new AcadColor(70, 0.5, 1, 0, 127.5, 255, 0); |
110 |
new AcadColor(71, 0.75, 1, 0.5, 191.25, 255, 127.5); |
111 |
new AcadColor(72, 0.325, 0.65, 0, 82.875, 165.75, 0); |
112 |
new AcadColor(73, 0.4875, 0.65, 0.325, 124.3125, 165.75, 82.875); |
113 |
new AcadColor(74, 0.25, 0.5, 0, 63.75, 127.5, 0); |
114 |
new AcadColor(75, 0.375, 0.5, 0.25, 95.625, 127.5, 63.75); |
115 |
new AcadColor(76, 0.15, 0.3, 0, 38.25, 76.5, 0); |
116 |
new AcadColor(77, 0.225, 0.3, 0.15, 57.375, 76.5, 38.25); |
117 |
new AcadColor(78, 0.075, 0.15, 0, 19.125, 38.25, 0); |
118 |
new AcadColor(79, 0.1125, 0.15, 0.075, 28.6875, 38.25, 19.125); |
119 |
new AcadColor(80, 0.25, 1, 0, 63.75, 255, 0); |
120 |
new AcadColor(81, 0.625, 1, 0.5, 159.375, 255, 127.5); |
121 |
new AcadColor(82, 0.1625, 0.65, 0, 41.4375, 165.75, 0); |
122 |
new AcadColor(83, 0.4063, 0.65, 0.325, 103.6065, 165.75, 82.875); |
123 |
new AcadColor(84, 0.125, 0.5, 0, 31.875, 127.5, 0); |
124 |
new AcadColor(85, 0.3125, 0.5, 0.25, 79.6875, 127.5, 63.75); |
125 |
new AcadColor(86, 0.075, 0.3, 0, 19.125, 76.5, 0); |
126 |
new AcadColor(87, 0.1875, 0.3, 0.15, 47.8125, 76.5, 38.25); |
127 |
new AcadColor(88, 0.0375, 0.15, 0, 9.5625, 38.25, 0); |
128 |
new AcadColor(89, 0.0938, 0.15, 0.075, 23.919, 38.25, 19.125); |
129 |
new AcadColor(90, 0, 1, 0, 0, 255, 0); |
130 |
new AcadColor(91, 0.5, 1, 0.5, 127.5, 255, 127.5); |
131 |
new AcadColor(92, 0, 0.65, 0, 0, 165.75, 0); |
132 |
new AcadColor(93, 0.325, 0.65, 0.325, 82.875, 165.75, 82.875); |
133 |
new AcadColor(94, 0, 0.5, 0, 0, 127.5, 0); |
134 |
new AcadColor(95, 0.25, 0.5, 0.25, 63.75, 127.5, 63.75); |
135 |
new AcadColor(96, 0, 0.3, 0, 0, 76.5, 0); |
136 |
new AcadColor(97, 0.15, 0.3, 0.15, 38.25, 76.5, 38.25); |
137 |
new AcadColor(98, 0, 0.15, 0, 0, 38.25, 0); |
138 |
new AcadColor(99, 0.075, 0.15, 0.075, 19.125, 38.25, 19.125); |
139 |
new AcadColor(100, 0, 1, 0.25, 0, 255, 63.75); |
140 |
new AcadColor(101, 0.5, 1, 0.625, 127.5, 255, 159.375); |
141 |
new AcadColor(102, 0, 0.65, 0.1625, 0, 165.75, 41.4375); |
142 |
new AcadColor(103, 0.325, 0.65, 0.4063, 82.875, 165.75, 103.6065); |
143 |
new AcadColor(104, 0, 0.5, 0.125, 0, 127.5, 31.875); |
144 |
new AcadColor(105, 0.25, 0.5, 0.3125, 63.75, 127.5, 79.6875); |
145 |
new AcadColor(106, 0, 0.3, 0.075, 0, 76.5, 19.125); |
146 |
new AcadColor(107, 0.15, 0.3, 0.1875, 38.25, 76.5, 47.8125); |
147 |
new AcadColor(108, 0, 0.15, 0.0375, 0, 38.25, 9.5625); |
148 |
new AcadColor(109, 0.075, 0.15, 0.0938, 19.125, 38.25, 23.919); |
149 |
new AcadColor(110, 0, 1, 0.5, 0, 255, 127.5); |
150 |
new AcadColor(111, 0.5, 1, 0.75, 127.5, 255, 191.25); |
151 |
new AcadColor(112, 0, 0.65, 0.325, 0, 165.75, 82.875); |
152 |
new AcadColor(113, 0.325, 0.65, 0.4875, 82.875, 165.75, 124.3125); |
153 |
new AcadColor(114, 0, 0.5, 0.25, 0, 127.5, 63.75); |
154 |
new AcadColor(115, 0.25, 0.5, 0.375, 63.75, 127.5, 95.625); |
155 |
new AcadColor(116, 0, 0.3, 0.15, 0, 76.5, 38.25); |
156 |
new AcadColor(117, 0.15, 0.3, 0.225, 38.25, 76.5, 57.375); |
157 |
new AcadColor(118, 0, 0.15, 0.075, 0, 38.25, 19.125); |
158 |
new AcadColor(119, 0.075, 0.15, 0.1125, 19.125, 38.25, 28.6875); |
159 |
new AcadColor(120, 0, 1, 0.75, 0, 255, 191.25); |
160 |
new AcadColor(121, 0.5, 1, 0.875, 127.5, 255, 223.125); |
161 |
new AcadColor(122, 0, 0.65, 0.4875, 0, 165.75, 124.3125); |
162 |
new AcadColor(123, 0.325, 0.65, 0.5688, 82.875, 165.75, 145.044); |
163 |
new AcadColor(124, 0, 0.5, 0.375, 0, 127.5, 95.625); |
164 |
new AcadColor(125, 0.25, 0.5, 0.4375, 63.75, 127.5, 111.5625); |
165 |
new AcadColor(126, 0, 0.3, 0.225, 0, 76.5, 57.375); |
166 |
new AcadColor(127, 0.15, 0.3, 0.2625, 38.25, 76.5, 66.9375); |
167 |
new AcadColor(128, 0, 0.15, 0.1125, 0, 38.25, 28.6875); |
168 |
new AcadColor(129, 0.075, 0.15, 0.1313, 19.125, 38.25, 33.4815); |
169 |
new AcadColor(130, 0, 1, 1, 0, 255, 255); |
170 |
new AcadColor(131, 0.5, 1, 1, 127.5, 255, 255); |
171 |
new AcadColor(132, 0, 0.65, 0.65, 0, 165.75, 165.75); |
172 |
new AcadColor(133, 0.325, 0.65, 0.65, 82.875, 165.75, 165.75); |
173 |
new AcadColor(134, 0, 0.5, 0.5, 0, 127.5, 127.5); |
174 |
new AcadColor(135, 0.25, 0.5, 0.5, 63.75, 127.5, 127.5); |
175 |
new AcadColor(136, 0, 0.3, 0.3, 0, 76.5, 76.5); |
176 |
new AcadColor(137, 0.15, 0.3, 0.3, 38.25, 76.5, 76.5); |
177 |
new AcadColor(138, 0, 0.15, 0.15, 0, 38.25, 38.25); |
178 |
new AcadColor(139, 0.075, 0.15, 0.15, 19.125, 38.25, 38.25); |
179 |
new AcadColor(140, 0, 0.75, 1, 0, 191.25, 255); |
180 |
new AcadColor(141, 0.5, 0.875, 1, 127.5, 223.125, 255); |
181 |
new AcadColor(142, 0, 0.4875, 0.65, 0, 124.3125, 165.75); |
182 |
new AcadColor(143, 0.325, 0.5688, 0.65, 82.875, 145.044, 165.75); |
183 |
new AcadColor(144, 0, 0.375, 0.5, 0, 95.625, 127.5); |
184 |
new AcadColor(145, 0.25, 0.4375, 0.5, 63.75, 111.5625, 127.5); |
185 |
new AcadColor(146, 0, 0.225, 0.3, 0, 57.375, 76.5); |
186 |
new AcadColor(147, 0.15, 0.2625, 0.3, 38.25, 66.9375, 76.5); |
187 |
new AcadColor(148, 0, 0.1125, 0.15, 0, 28.6875, 38.25); |
188 |
new AcadColor(149, 0.075, 0.1313, 0.15, 19.125, 33.4815, 38.25); |
189 |
new AcadColor(150, 0, 0.5, 1, 0, 127.5, 255); |
190 |
new AcadColor(151, 0.5, 0.75, 1, 127.5, 191.25, 255); |
191 |
new AcadColor(152, 0, 0.325, 0.65, 0, 82.875, 165.75); |
192 |
new AcadColor(153, 0.325, 0.4875, 0.65, 82.875, 124.3125, 165.75); |
193 |
new AcadColor(154, 0, 0.25, 0.5, 0, 63.75, 127.5); |
194 |
new AcadColor(155, 0.25, 0.375, 0.5, 63.75, 95.625, 127.5); |
195 |
new AcadColor(156, 0, 0.15, 0.3, 0, 38.25, 76.5); |
196 |
new AcadColor(157, 0.15, 0.225, 0.3, 38.25, 57.375, 76.5); |
197 |
new AcadColor(158, 0, 0.075, 0.15, 0, 19.125, 38.25); |
198 |
new AcadColor(159, 0.075, 0.1125, 0.15, 19.125, 28.6875, 38.25); |
199 |
new AcadColor(160, 0, 0.25, 1, 0, 63.75, 255); |
200 |
new AcadColor(161, 0.5, 0.625, 1, 127.5, 159.375, 255); |
201 |
new AcadColor(162, 0, 0.1625, 0.65, 0, 41.4375, 165.75); |
202 |
new AcadColor(163, 0.325, 0.4063, 0.65, 82.875, 103.6065, 165.75); |
203 |
new AcadColor(164, 0, 0.125, 0.5, 0, 31.875, 127.5); |
204 |
new AcadColor(165, 0.25, 0.3125, 0.5, 63.75, 79.6875, 127.5); |
205 |
new AcadColor(166, 0, 0.075, 0.3, 0, 19.125, 76.5); |
206 |
new AcadColor(167, 0.15, 0.1875, 0.3, 38.25, 47.8125, 76.5); |
207 |
new AcadColor(168, 0, 0.0375, 0.15, 0, 9.5625, 38.25); |
208 |
new AcadColor(169, 0.075, 0.0938, 0.15, 19.125, 23.919, 38.25); |
209 |
new AcadColor(170, 0, 0, 1, 0, 0, 255); |
210 |
new AcadColor(171, 0.5, 0.5, 1, 127.5, 127.5, 255); |
211 |
new AcadColor(172, 0, 0, 0.65, 0, 0, 165.75); |
212 |
new AcadColor(173, 0.325, 0.325, 0.65, 82.875, 82.875, 165.75); |
213 |
new AcadColor(174, 0, 0, 0.5, 0, 0, 127.5); |
214 |
new AcadColor(175, 0.25, 0.25, 0.5, 63.75, 63.75, 127.5); |
215 |
new AcadColor(176, 0, 0, 0.3, 0, 0, 76.5); |
216 |
new AcadColor(177, 0.15, 0.15, 0.3, 38.25, 38.25, 76.5); |
217 |
new AcadColor(178, 0, 0, 0.15, 0, 0, 38.25); |
218 |
new AcadColor(179, 0.075, 0.075, 0.15, 19.125, 19.125, 38.25); |
219 |
new AcadColor(180, 0.25, 0, 1, 63.75, 0, 255); |
220 |
new AcadColor(181, 0.625, 0.5, 1, 159.375, 127.5, 255); |
221 |
new AcadColor(182, 0.1625, 0, 0.65, 41.4375, 0, 165.75); |
222 |
new AcadColor(183, 0.4063, 0.325, 0.65, 103.6065, 82.875, 165.75); |
223 |
new AcadColor(184, 0.125, 0, 0.5, 31.875, 0, 127.5); |
224 |
new AcadColor(185, 0.3125, 0.25, 0.5, 79.6875, 63.75, 127.5); |
225 |
new AcadColor(186, 0.075, 0, 0.3, 19.125, 0, 76.5); |
226 |
new AcadColor(187, 0.1875, 0.15, 0.3, 47.8125, 38.25, 76.5); |
227 |
new AcadColor(188, 0.0375, 0, 0.15, 9.5625, 0, 38.25); |
228 |
new AcadColor(189, 0.0938, 0.075, 0.15, 23.919, 19.125, 38.25); |
229 |
new AcadColor(190, 0.5, 0, 1, 127.5, 0, 255); |
230 |
new AcadColor(191, 0.75, 0.5, 1, 191.25, 127.5, 255); |
231 |
new AcadColor(192, 0.325, 0, 0.65, 82.875, 0, 165.75); |
232 |
new AcadColor(193, 0.4875, 0.325, 0.65, 124.3125, 82.875, 165.75); |
233 |
new AcadColor(194, 0.25, 0, 0.5, 63.75, 0, 127.5); |
234 |
new AcadColor(195, 0.375, 0.25, 0.5, 95.625, 63.75, 127.5); |
235 |
new AcadColor(196, 0.15, 0, 0.3, 38.25, 0, 76.5); |
236 |
new AcadColor(197, 0.225, 0.15, 0.3, 57.375, 38.25, 76.5); |
237 |
new AcadColor(198, 0.075, 0, 0.15, 19.125, 0, 38.25); |
238 |
new AcadColor(199, 0.1125, 0.075, 0.15, 28.6875, 19.125, 38.25); |
239 |
new AcadColor(200, 0.75, 0, 1, 191.25, 0, 255); |
240 |
new AcadColor(201, 0.875, 0.5, 1, 223.125, 127.5, 255); |
241 |
new AcadColor(202, 0.4875, 0, 0.65, 124.3125, 0, 165.75); |
242 |
new AcadColor(203, 0.5688, 0.325, 0.65, 145.044, 82.875, 165.75); |
243 |
new AcadColor(204, 0.375, 0, 0.5, 95.625, 0, 127.5); |
244 |
new AcadColor(205, 0.4375, 0.25, 0.5, 111.5625, 63.75, 127.5); |
245 |
new AcadColor(206, 0.225, 0, 0.3, 57.375, 0, 76.5); |
246 |
new AcadColor(207, 0.2625, 0.15, 0.3, 66.9375, 38.25, 76.5); |
247 |
new AcadColor(208, 0.1125, 0, 0.15, 28.6875, 0, 38.25); |
248 |
new AcadColor(209, 0.1313, 0.075, 0.15, 33.4815, 19.125, 38.25); |
249 |
new AcadColor(210, 1, 0, 1, 255, 0, 255); |
250 |
new AcadColor(211, 1, 0.5, 1, 255, 127.5, 255); |
251 |
new AcadColor(212, 0.65, 0, 0.65, 165.75, 0, 165.75); |
252 |
new AcadColor(213, 0.65, 0.325, 0.65, 165.75, 82.875, 165.75); |
253 |
new AcadColor(214, 0.5, 0, 0.5, 127.5, 0, 127.5); |
254 |
new AcadColor(215, 0.5, 0.25, 0.5, 127.5, 63.75, 127.5); |
255 |
new AcadColor(216, 0.3, 0, 0.3, 76.5, 0, 76.5); |
256 |
new AcadColor(217, 0.3, 0.15, 0.3, 76.5, 38.25, 76.5); |
257 |
new AcadColor(218, 0.15, 0, 0.15, 38.25, 0, 38.25); |
258 |
new AcadColor(219, 0.15, 0.075, 0.15, 38.25, 19.125, 38.25); |
259 |
new AcadColor(220, 1, 0, 0.75, 255, 0, 191.25); |
260 |
new AcadColor(221, 1, 0.5, 0.875, 255, 127.5, 223.125); |
261 |
new AcadColor(222, 0.65, 0, 0.4875, 165.75, 0, 124.3125); |
262 |
new AcadColor(223, 0.65, 0.325, 0.5688, 165.75, 82.875, 145.044); |
263 |
new AcadColor(224, 0.5, 0, 0.375, 127.5, 0, 95.625); |
264 |
new AcadColor(225, 0.5, 0.25, 0.4375, 127.5, 63.75, 111.5625); |
265 |
new AcadColor(226, 0.3, 0, 0.225, 76.5, 0, 57.375); |
266 |
new AcadColor(227, 0.3, 0.15, 0.2625, 76.5, 38.25, 66.9375); |
267 |
new AcadColor(228, 0.15, 0, 0.1125, 38.25, 0, 28.6875); |
268 |
new AcadColor(229, 0.15, 0.075, 0.1313, 38.25, 19.125, 33.4815); |
269 |
new AcadColor(230, 1, 0, 0.5, 255, 0, 127.5); |
270 |
new AcadColor(231, 1, 0.5, 0.75, 255, 127.5, 191.25); |
271 |
new AcadColor(232, 0.65, 0, 0.325, 165.75, 0, 82.875); |
272 |
new AcadColor(233, 0.65, 0.325, 0.4875, 165.75, 82.875, 124.3125); |
273 |
new AcadColor(234, 0.5, 0, 0.25, 127.5, 0, 63.75); |
274 |
new AcadColor(235, 0.5, 0.25, 0.375, 127.5, 63.75, 95.625); |
275 |
new AcadColor(236, 0.3, 0, 0.15, 76.5, 0, 38.25); |
276 |
new AcadColor(237, 0.3, 0.15, 0.225, 76.5, 38.25, 57.375); |
277 |
new AcadColor(238, 0.15, 0, 0.075, 38.25, 0, 19.125); |
278 |
new AcadColor(239, 0.15, 0.075, 0.1125, 38.25, 19.125, 28.6875); |
279 |
new AcadColor(240, 1, 0, 0.25, 255, 0, 63.75); |
280 |
new AcadColor(241, 1, 0.5, 0.625, 255, 127.5, 159.375); |
281 |
new AcadColor(242, 0.65, 0, 0.1625, 165.75, 0, 41.4375); |
282 |
new AcadColor(243, 0.65, 0.325, 0.4063, 165.75, 82.875, 103.6065); |
283 |
new AcadColor(244, 0.5, 0, 0.125, 127.5, 0, 31.875); |
284 |
new AcadColor(245, 0.5, 0.25, 0.3125, 127.5, 63.75, 79.6875); |
285 |
new AcadColor(246, 0.3, 0, 0.075, 76.5, 0, 19.125); |
286 |
new AcadColor(247, 0.3, 0.15, 0.1875, 76.5, 38.25, 47.8125); |
287 |
new AcadColor(248, 0.15, 0, 0.0375, 38.25, 0, 9.5625); |
288 |
new AcadColor(249, 0.15, 0.075, 0.0938, 38.25, 19.125, 23.919); |
289 |
new AcadColor(250, 0.33, 0.33, 0.33, 84.15, 84.15, 84.15); |
290 |
new AcadColor(251, 0.464, 0.464, 0.464, 118.32, 118.32, 118.32); |
291 |
new AcadColor(252, 0.598, 0.598, 0.598, 152.49, 152.49, 152.49); |
292 |
new AcadColor(253, 0.732, 0.732, 0.732, 186.66, 186.66, 186.66); |
293 |
new AcadColor(254, 0.866, 0.866, 0.866, 220.83, 220.83, 220.83); |
294 |
new AcadColor(255, 1.0, 1.0, 1.0, 255.0, 255.0, 255.0); |
295 |
return AcadColor.colores;
|
296 |
} |
297 |
}; |