line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Lego::From::PNG::Const; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
BEGIN { |
4
|
1
|
|
|
1
|
|
358
|
$Lego::From::PNG::Const::VERSION = '0.04'; |
5
|
|
|
|
|
|
|
} |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
require Exporter; |
8
|
|
|
|
|
|
|
@ISA = qw(Exporter); |
9
|
|
|
|
|
|
|
@EXPORT_OK = qw( |
10
|
|
|
|
|
|
|
LEGO_COLORS |
11
|
|
|
|
|
|
|
LEGO_BRICK_LENGTHS |
12
|
|
|
|
|
|
|
LEGO_UNIT |
13
|
|
|
|
|
|
|
LEGO_UNIT_LENGTH |
14
|
|
|
|
|
|
|
LEGO_UNIT_DEPTH |
15
|
|
|
|
|
|
|
LEGO_UNIT_HEIGHT |
16
|
|
|
|
|
|
|
LEGO_UNIT_STUD_DIAMETER |
17
|
|
|
|
|
|
|
LEGO_UNIT_STUD_HEIGHT |
18
|
|
|
|
|
|
|
LEGO_UNIT_STUD_SPACING |
19
|
|
|
|
|
|
|
LEGO_UNIT_EDGE_TO_STUD |
20
|
|
|
|
|
|
|
MILLIMETER_TO_INCH |
21
|
|
|
|
|
|
|
METRIC_SUFFIX |
22
|
|
|
|
|
|
|
IMPERIAL_SUFFIX |
23
|
|
|
|
|
|
|
AQUA_OFFICIAL_NAME |
24
|
|
|
|
|
|
|
AQUA_COMMON_NAME |
25
|
|
|
|
|
|
|
AQUA_HEX_COLOR |
26
|
|
|
|
|
|
|
AQUA_RGB_COLOR_RED |
27
|
|
|
|
|
|
|
AQUA_RGB_COLOR_GREEN |
28
|
|
|
|
|
|
|
AQUA_RGB_COLOR_BLUE |
29
|
|
|
|
|
|
|
BLACK_OFFICIAL_NAME |
30
|
|
|
|
|
|
|
BLACK_COMMON_NAME |
31
|
|
|
|
|
|
|
BLACK_HEX_COLOR |
32
|
|
|
|
|
|
|
BLACK_RGB_COLOR_RED |
33
|
|
|
|
|
|
|
BLACK_RGB_COLOR_GREEN |
34
|
|
|
|
|
|
|
BLACK_RGB_COLOR_BLUE |
35
|
|
|
|
|
|
|
BRICK_YELLOW_OFFICIAL_NAME |
36
|
|
|
|
|
|
|
BRICK_YELLOW_COMMON_NAME |
37
|
|
|
|
|
|
|
BRICK_YELLOW_HEX_COLOR |
38
|
|
|
|
|
|
|
BRICK_YELLOW_RGB_COLOR_RED |
39
|
|
|
|
|
|
|
BRICK_YELLOW_RGB_COLOR_GREEN |
40
|
|
|
|
|
|
|
BRICK_YELLOW_RGB_COLOR_BLUE |
41
|
|
|
|
|
|
|
BRIGHT_BLUE_OFFICIAL_NAME |
42
|
|
|
|
|
|
|
BRIGHT_BLUE_COMMON_NAME |
43
|
|
|
|
|
|
|
BRIGHT_BLUE_HEX_COLOR |
44
|
|
|
|
|
|
|
BRIGHT_BLUE_RGB_COLOR_RED |
45
|
|
|
|
|
|
|
BRIGHT_BLUE_RGB_COLOR_GREEN |
46
|
|
|
|
|
|
|
BRIGHT_BLUE_RGB_COLOR_BLUE |
47
|
|
|
|
|
|
|
BRIGHT_GREEN_OFFICIAL_NAME |
48
|
|
|
|
|
|
|
BRIGHT_GREEN_COMMON_NAME |
49
|
|
|
|
|
|
|
BRIGHT_GREEN_HEX_COLOR |
50
|
|
|
|
|
|
|
BRIGHT_GREEN_RGB_COLOR_RED |
51
|
|
|
|
|
|
|
BRIGHT_GREEN_RGB_COLOR_GREEN |
52
|
|
|
|
|
|
|
BRIGHT_GREEN_RGB_COLOR_BLUE |
53
|
|
|
|
|
|
|
BRIGHT_ORANGE_OFFICIAL_NAME |
54
|
|
|
|
|
|
|
BRIGHT_ORANGE_COMMON_NAME |
55
|
|
|
|
|
|
|
BRIGHT_ORANGE_HEX_COLOR |
56
|
|
|
|
|
|
|
BRIGHT_ORANGE_RGB_COLOR_RED |
57
|
|
|
|
|
|
|
BRIGHT_ORANGE_RGB_COLOR_GREEN |
58
|
|
|
|
|
|
|
BRIGHT_ORANGE_RGB_COLOR_BLUE |
59
|
|
|
|
|
|
|
BRIGHT_PURPLE_OFFICIAL_NAME |
60
|
|
|
|
|
|
|
BRIGHT_PURPLE_COMMON_NAME |
61
|
|
|
|
|
|
|
BRIGHT_PURPLE_HEX_COLOR |
62
|
|
|
|
|
|
|
BRIGHT_PURPLE_RGB_COLOR_RED |
63
|
|
|
|
|
|
|
BRIGHT_PURPLE_RGB_COLOR_GREEN |
64
|
|
|
|
|
|
|
BRIGHT_PURPLE_RGB_COLOR_BLUE |
65
|
|
|
|
|
|
|
BRIGHT_RED_OFFICIAL_NAME |
66
|
|
|
|
|
|
|
BRIGHT_RED_COMMON_NAME |
67
|
|
|
|
|
|
|
BRIGHT_RED_HEX_COLOR |
68
|
|
|
|
|
|
|
BRIGHT_RED_RGB_COLOR_RED |
69
|
|
|
|
|
|
|
BRIGHT_RED_RGB_COLOR_GREEN |
70
|
|
|
|
|
|
|
BRIGHT_RED_RGB_COLOR_BLUE |
71
|
|
|
|
|
|
|
BRIGHT_REDDISH_VIOLET_OFFICIAL_NAME |
72
|
|
|
|
|
|
|
BRIGHT_REDDISH_VIOLET_COMMON_NAME |
73
|
|
|
|
|
|
|
BRIGHT_REDDISH_VIOLET_HEX_COLOR |
74
|
|
|
|
|
|
|
BRIGHT_REDDISH_VIOLET_RGB_COLOR_RED |
75
|
|
|
|
|
|
|
BRIGHT_REDDISH_VIOLET_RGB_COLOR_GREEN |
76
|
|
|
|
|
|
|
BRIGHT_REDDISH_VIOLET_RGB_COLOR_BLUE |
77
|
|
|
|
|
|
|
BRIGHT_YELLOW_OFFICIAL_NAME |
78
|
|
|
|
|
|
|
BRIGHT_YELLOW_COMMON_NAME |
79
|
|
|
|
|
|
|
BRIGHT_YELLOW_HEX_COLOR |
80
|
|
|
|
|
|
|
BRIGHT_YELLOW_RGB_COLOR_RED |
81
|
|
|
|
|
|
|
BRIGHT_YELLOW_RGB_COLOR_GREEN |
82
|
|
|
|
|
|
|
BRIGHT_YELLOW_RGB_COLOR_BLUE |
83
|
|
|
|
|
|
|
BRIGHT_YELLOWISH_GREEN_OFFICIAL_NAME |
84
|
|
|
|
|
|
|
BRIGHT_YELLOWISH_GREEN_COMMON_NAME |
85
|
|
|
|
|
|
|
BRIGHT_YELLOWISH_GREEN_HEX_COLOR |
86
|
|
|
|
|
|
|
BRIGHT_YELLOWISH_GREEN_RGB_COLOR_RED |
87
|
|
|
|
|
|
|
BRIGHT_YELLOWISH_GREEN_RGB_COLOR_GREEN |
88
|
|
|
|
|
|
|
BRIGHT_YELLOWISH_GREEN_RGB_COLOR_BLUE |
89
|
|
|
|
|
|
|
COOL_YELLOW_OFFICIAL_NAME |
90
|
|
|
|
|
|
|
COOL_YELLOW_COMMON_NAME |
91
|
|
|
|
|
|
|
COOL_YELLOW_HEX_COLOR |
92
|
|
|
|
|
|
|
COOL_YELLOW_RGB_COLOR_RED |
93
|
|
|
|
|
|
|
COOL_YELLOW_RGB_COLOR_GREEN |
94
|
|
|
|
|
|
|
COOL_YELLOW_RGB_COLOR_BLUE |
95
|
|
|
|
|
|
|
DARK_AZUR_OFFICIAL_NAME |
96
|
|
|
|
|
|
|
DARK_AZUR_COMMON_NAME |
97
|
|
|
|
|
|
|
DARK_AZUR_HEX_COLOR |
98
|
|
|
|
|
|
|
DARK_AZUR_RGB_COLOR_RED |
99
|
|
|
|
|
|
|
DARK_AZUR_RGB_COLOR_GREEN |
100
|
|
|
|
|
|
|
DARK_AZUR_RGB_COLOR_BLUE |
101
|
|
|
|
|
|
|
DARK_BROWN_OFFICIAL_NAME |
102
|
|
|
|
|
|
|
DARK_BROWN_COMMON_NAME |
103
|
|
|
|
|
|
|
DARK_BROWN_HEX_COLOR |
104
|
|
|
|
|
|
|
DARK_BROWN_RGB_COLOR_RED |
105
|
|
|
|
|
|
|
DARK_BROWN_RGB_COLOR_GREEN |
106
|
|
|
|
|
|
|
DARK_BROWN_RGB_COLOR_BLUE |
107
|
|
|
|
|
|
|
DARK_GREEN_OFFICIAL_NAME |
108
|
|
|
|
|
|
|
DARK_GREEN_COMMON_NAME |
109
|
|
|
|
|
|
|
DARK_GREEN_HEX_COLOR |
110
|
|
|
|
|
|
|
DARK_GREEN_RGB_COLOR_RED |
111
|
|
|
|
|
|
|
DARK_GREEN_RGB_COLOR_GREEN |
112
|
|
|
|
|
|
|
DARK_GREEN_RGB_COLOR_BLUE |
113
|
|
|
|
|
|
|
DARK_ORANGE_OFFICIAL_NAME |
114
|
|
|
|
|
|
|
DARK_ORANGE_COMMON_NAME |
115
|
|
|
|
|
|
|
DARK_ORANGE_HEX_COLOR |
116
|
|
|
|
|
|
|
DARK_ORANGE_RGB_COLOR_RED |
117
|
|
|
|
|
|
|
DARK_ORANGE_RGB_COLOR_GREEN |
118
|
|
|
|
|
|
|
DARK_ORANGE_RGB_COLOR_BLUE |
119
|
|
|
|
|
|
|
DARK_RED_OFFICIAL_NAME |
120
|
|
|
|
|
|
|
DARK_RED_COMMON_NAME |
121
|
|
|
|
|
|
|
DARK_RED_HEX_COLOR |
122
|
|
|
|
|
|
|
DARK_RED_RGB_COLOR_RED |
123
|
|
|
|
|
|
|
DARK_RED_RGB_COLOR_GREEN |
124
|
|
|
|
|
|
|
DARK_RED_RGB_COLOR_BLUE |
125
|
|
|
|
|
|
|
DARK_STONE_GREY_OFFICIAL_NAME |
126
|
|
|
|
|
|
|
DARK_STONE_GREY_COMMON_NAME |
127
|
|
|
|
|
|
|
DARK_STONE_GREY_HEX_COLOR |
128
|
|
|
|
|
|
|
DARK_STONE_GREY_RGB_COLOR_RED |
129
|
|
|
|
|
|
|
DARK_STONE_GREY_RGB_COLOR_GREEN |
130
|
|
|
|
|
|
|
DARK_STONE_GREY_RGB_COLOR_BLUE |
131
|
|
|
|
|
|
|
EARTH_BLUE_OFFICIAL_NAME |
132
|
|
|
|
|
|
|
EARTH_BLUE_COMMON_NAME |
133
|
|
|
|
|
|
|
EARTH_BLUE_HEX_COLOR |
134
|
|
|
|
|
|
|
EARTH_BLUE_RGB_COLOR_RED |
135
|
|
|
|
|
|
|
EARTH_BLUE_RGB_COLOR_GREEN |
136
|
|
|
|
|
|
|
EARTH_BLUE_RGB_COLOR_BLUE |
137
|
|
|
|
|
|
|
EARTH_GREEN_OFFICIAL_NAME |
138
|
|
|
|
|
|
|
EARTH_GREEN_COMMON_NAME |
139
|
|
|
|
|
|
|
EARTH_GREEN_HEX_COLOR |
140
|
|
|
|
|
|
|
EARTH_GREEN_RGB_COLOR_RED |
141
|
|
|
|
|
|
|
EARTH_GREEN_RGB_COLOR_GREEN |
142
|
|
|
|
|
|
|
EARTH_GREEN_RGB_COLOR_BLUE |
143
|
|
|
|
|
|
|
FLAME_YELLOWISH_ORANGE_OFFICIAL_NAME |
144
|
|
|
|
|
|
|
FLAME_YELLOWISH_ORANGE_COMMON_NAME |
145
|
|
|
|
|
|
|
FLAME_YELLOWISH_ORANGE_HEX_COLOR |
146
|
|
|
|
|
|
|
FLAME_YELLOWISH_ORANGE_RGB_COLOR_RED |
147
|
|
|
|
|
|
|
FLAME_YELLOWISH_ORANGE_RGB_COLOR_GREEN |
148
|
|
|
|
|
|
|
FLAME_YELLOWISH_ORANGE_RGB_COLOR_BLUE |
149
|
|
|
|
|
|
|
LAVENDER_OFFICIAL_NAME |
150
|
|
|
|
|
|
|
LAVENDER_COMMON_NAME |
151
|
|
|
|
|
|
|
LAVENDER_HEX_COLOR |
152
|
|
|
|
|
|
|
LAVENDER_RGB_COLOR_RED |
153
|
|
|
|
|
|
|
LAVENDER_RGB_COLOR_GREEN |
154
|
|
|
|
|
|
|
LAVENDER_RGB_COLOR_BLUE |
155
|
|
|
|
|
|
|
LIGHT_NOUGAT_OFFICIAL_NAME |
156
|
|
|
|
|
|
|
LIGHT_NOUGAT_COMMON_NAME |
157
|
|
|
|
|
|
|
LIGHT_NOUGAT_HEX_COLOR |
158
|
|
|
|
|
|
|
LIGHT_NOUGAT_RGB_COLOR_RED |
159
|
|
|
|
|
|
|
LIGHT_NOUGAT_RGB_COLOR_GREEN |
160
|
|
|
|
|
|
|
LIGHT_NOUGAT_RGB_COLOR_BLUE |
161
|
|
|
|
|
|
|
LIGHT_PURPLE_OFFICIAL_NAME |
162
|
|
|
|
|
|
|
LIGHT_PURPLE_COMMON_NAME |
163
|
|
|
|
|
|
|
LIGHT_PURPLE_HEX_COLOR |
164
|
|
|
|
|
|
|
LIGHT_PURPLE_RGB_COLOR_RED |
165
|
|
|
|
|
|
|
LIGHT_PURPLE_RGB_COLOR_GREEN |
166
|
|
|
|
|
|
|
LIGHT_PURPLE_RGB_COLOR_BLUE |
167
|
|
|
|
|
|
|
LIGHT_ROYAL_BLUE_OFFICIAL_NAME |
168
|
|
|
|
|
|
|
LIGHT_ROYAL_BLUE_COMMON_NAME |
169
|
|
|
|
|
|
|
LIGHT_ROYAL_BLUE_HEX_COLOR |
170
|
|
|
|
|
|
|
LIGHT_ROYAL_BLUE_RGB_COLOR_RED |
171
|
|
|
|
|
|
|
LIGHT_ROYAL_BLUE_RGB_COLOR_GREEN |
172
|
|
|
|
|
|
|
LIGHT_ROYAL_BLUE_RGB_COLOR_BLUE |
173
|
|
|
|
|
|
|
LIGHT_STONE_GREY_OFFICIAL_NAME |
174
|
|
|
|
|
|
|
LIGHT_STONE_GREY_COMMON_NAME |
175
|
|
|
|
|
|
|
LIGHT_STONE_GREY_HEX_COLOR |
176
|
|
|
|
|
|
|
LIGHT_STONE_GREY_RGB_COLOR_RED |
177
|
|
|
|
|
|
|
LIGHT_STONE_GREY_RGB_COLOR_GREEN |
178
|
|
|
|
|
|
|
LIGHT_STONE_GREY_RGB_COLOR_BLUE |
179
|
|
|
|
|
|
|
MEDIUM_AZUR_OFFICIAL_NAME |
180
|
|
|
|
|
|
|
MEDIUM_AZUR_COMMON_NAME |
181
|
|
|
|
|
|
|
MEDIUM_AZUR_HEX_COLOR |
182
|
|
|
|
|
|
|
MEDIUM_AZUR_RGB_COLOR_RED |
183
|
|
|
|
|
|
|
MEDIUM_AZUR_RGB_COLOR_GREEN |
184
|
|
|
|
|
|
|
MEDIUM_AZUR_RGB_COLOR_BLUE |
185
|
|
|
|
|
|
|
MEDIUM_BLUE_OFFICIAL_NAME |
186
|
|
|
|
|
|
|
MEDIUM_BLUE_COMMON_NAME |
187
|
|
|
|
|
|
|
MEDIUM_BLUE_HEX_COLOR |
188
|
|
|
|
|
|
|
MEDIUM_BLUE_RGB_COLOR_RED |
189
|
|
|
|
|
|
|
MEDIUM_BLUE_RGB_COLOR_GREEN |
190
|
|
|
|
|
|
|
MEDIUM_BLUE_RGB_COLOR_BLUE |
191
|
|
|
|
|
|
|
MEDIUM_LAVENDER_OFFICIAL_NAME |
192
|
|
|
|
|
|
|
MEDIUM_LAVENDER_COMMON_NAME |
193
|
|
|
|
|
|
|
MEDIUM_LAVENDER_HEX_COLOR |
194
|
|
|
|
|
|
|
MEDIUM_LAVENDER_RGB_COLOR_RED |
195
|
|
|
|
|
|
|
MEDIUM_LAVENDER_RGB_COLOR_GREEN |
196
|
|
|
|
|
|
|
MEDIUM_LAVENDER_RGB_COLOR_BLUE |
197
|
|
|
|
|
|
|
MEDIUM_LILAC_OFFICIAL_NAME |
198
|
|
|
|
|
|
|
MEDIUM_LILAC_COMMON_NAME |
199
|
|
|
|
|
|
|
MEDIUM_LILAC_HEX_COLOR |
200
|
|
|
|
|
|
|
MEDIUM_LILAC_RGB_COLOR_RED |
201
|
|
|
|
|
|
|
MEDIUM_LILAC_RGB_COLOR_GREEN |
202
|
|
|
|
|
|
|
MEDIUM_LILAC_RGB_COLOR_BLUE |
203
|
|
|
|
|
|
|
MEDIUM_NOUGAT_OFFICIAL_NAME |
204
|
|
|
|
|
|
|
MEDIUM_NOUGAT_COMMON_NAME |
205
|
|
|
|
|
|
|
MEDIUM_NOUGAT_HEX_COLOR |
206
|
|
|
|
|
|
|
MEDIUM_NOUGAT_RGB_COLOR_RED |
207
|
|
|
|
|
|
|
MEDIUM_NOUGAT_RGB_COLOR_GREEN |
208
|
|
|
|
|
|
|
MEDIUM_NOUGAT_RGB_COLOR_BLUE |
209
|
|
|
|
|
|
|
MEDIUM_STONE_GREY_OFFICIAL_NAME |
210
|
|
|
|
|
|
|
MEDIUM_STONE_GREY_COMMON_NAME |
211
|
|
|
|
|
|
|
MEDIUM_STONE_GREY_HEX_COLOR |
212
|
|
|
|
|
|
|
MEDIUM_STONE_GREY_RGB_COLOR_RED |
213
|
|
|
|
|
|
|
MEDIUM_STONE_GREY_RGB_COLOR_GREEN |
214
|
|
|
|
|
|
|
MEDIUM_STONE_GREY_RGB_COLOR_BLUE |
215
|
|
|
|
|
|
|
MEDIUM_YELLOWISH_GREEN_OFFICIAL_NAME |
216
|
|
|
|
|
|
|
MEDIUM_YELLOWISH_GREEN_COMMON_NAME |
217
|
|
|
|
|
|
|
MEDIUM_YELLOWISH_GREEN_HEX_COLOR |
218
|
|
|
|
|
|
|
MEDIUM_YELLOWISH_GREEN_RGB_COLOR_RED |
219
|
|
|
|
|
|
|
MEDIUM_YELLOWISH_GREEN_RGB_COLOR_GREEN |
220
|
|
|
|
|
|
|
MEDIUM_YELLOWISH_GREEN_RGB_COLOR_BLUE |
221
|
|
|
|
|
|
|
NOUGAT_OFFICIAL_NAME |
222
|
|
|
|
|
|
|
NOUGAT_COMMON_NAME |
223
|
|
|
|
|
|
|
NOUGAT_HEX_COLOR |
224
|
|
|
|
|
|
|
NOUGAT_RGB_COLOR_RED |
225
|
|
|
|
|
|
|
NOUGAT_RGB_COLOR_GREEN |
226
|
|
|
|
|
|
|
NOUGAT_RGB_COLOR_BLUE |
227
|
|
|
|
|
|
|
OLIVE_GREEN_OFFICIAL_NAME |
228
|
|
|
|
|
|
|
OLIVE_GREEN_COMMON_NAME |
229
|
|
|
|
|
|
|
OLIVE_GREEN_HEX_COLOR |
230
|
|
|
|
|
|
|
OLIVE_GREEN_RGB_COLOR_RED |
231
|
|
|
|
|
|
|
OLIVE_GREEN_RGB_COLOR_GREEN |
232
|
|
|
|
|
|
|
OLIVE_GREEN_RGB_COLOR_BLUE |
233
|
|
|
|
|
|
|
REDDISH_BROWN_OFFICIAL_NAME |
234
|
|
|
|
|
|
|
REDDISH_BROWN_COMMON_NAME |
235
|
|
|
|
|
|
|
REDDISH_BROWN_HEX_COLOR |
236
|
|
|
|
|
|
|
REDDISH_BROWN_RGB_COLOR_RED |
237
|
|
|
|
|
|
|
REDDISH_BROWN_RGB_COLOR_GREEN |
238
|
|
|
|
|
|
|
REDDISH_BROWN_RGB_COLOR_BLUE |
239
|
|
|
|
|
|
|
SAND_BLUE_OFFICIAL_NAME |
240
|
|
|
|
|
|
|
SAND_BLUE_COMMON_NAME |
241
|
|
|
|
|
|
|
SAND_BLUE_HEX_COLOR |
242
|
|
|
|
|
|
|
SAND_BLUE_RGB_COLOR_RED |
243
|
|
|
|
|
|
|
SAND_BLUE_RGB_COLOR_GREEN |
244
|
|
|
|
|
|
|
SAND_BLUE_RGB_COLOR_BLUE |
245
|
|
|
|
|
|
|
SAND_GREEN_OFFICIAL_NAME |
246
|
|
|
|
|
|
|
SAND_GREEN_COMMON_NAME |
247
|
|
|
|
|
|
|
SAND_GREEN_HEX_COLOR |
248
|
|
|
|
|
|
|
SAND_GREEN_RGB_COLOR_RED |
249
|
|
|
|
|
|
|
SAND_GREEN_RGB_COLOR_GREEN |
250
|
|
|
|
|
|
|
SAND_GREEN_RGB_COLOR_BLUE |
251
|
|
|
|
|
|
|
SAND_YELLOW_OFFICIAL_NAME |
252
|
|
|
|
|
|
|
SAND_YELLOW_COMMON_NAME |
253
|
|
|
|
|
|
|
SAND_YELLOW_HEX_COLOR |
254
|
|
|
|
|
|
|
SAND_YELLOW_RGB_COLOR_RED |
255
|
|
|
|
|
|
|
SAND_YELLOW_RGB_COLOR_GREEN |
256
|
|
|
|
|
|
|
SAND_YELLOW_RGB_COLOR_BLUE |
257
|
|
|
|
|
|
|
SPRING_YELLOWISH_GREEN_OFFICIAL_NAME |
258
|
|
|
|
|
|
|
SPRING_YELLOWISH_GREEN_COMMON_NAME |
259
|
|
|
|
|
|
|
SPRING_YELLOWISH_GREEN_HEX_COLOR |
260
|
|
|
|
|
|
|
SPRING_YELLOWISH_GREEN_RGB_COLOR_RED |
261
|
|
|
|
|
|
|
SPRING_YELLOWISH_GREEN_RGB_COLOR_GREEN |
262
|
|
|
|
|
|
|
SPRING_YELLOWISH_GREEN_RGB_COLOR_BLUE |
263
|
|
|
|
|
|
|
WHITE_OFFICIAL_NAME |
264
|
|
|
|
|
|
|
WHITE_COMMON_NAME |
265
|
|
|
|
|
|
|
WHITE_HEX_COLOR |
266
|
|
|
|
|
|
|
WHITE_RGB_COLOR_RED |
267
|
|
|
|
|
|
|
WHITE_RGB_COLOR_GREEN |
268
|
|
|
|
|
|
|
WHITE_RGB_COLOR_BLUE |
269
|
|
|
|
|
|
|
WHITE_GLOW_OFFICIAL_NAME |
270
|
|
|
|
|
|
|
WHITE_GLOW_COMMON_NAME |
271
|
|
|
|
|
|
|
WHITE_GLOW_HEX_COLOR |
272
|
|
|
|
|
|
|
WHITE_GLOW_RGB_COLOR_RED |
273
|
|
|
|
|
|
|
WHITE_GLOW_RGB_COLOR_GREEN |
274
|
|
|
|
|
|
|
WHITE_GLOW_RGB_COLOR_BLUE |
275
|
|
|
|
|
|
|
); |
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
%EXPORT_TAGS = ('all' => \@EXPORT_OK); |
278
|
|
|
|
|
|
|
|
279
|
|
|
|
|
|
|
# List of basic lego colors |
280
|
1
|
|
|
|
|
115
|
use constant LEGO_COLORS => qw( |
281
|
|
|
|
|
|
|
AQUA |
282
|
|
|
|
|
|
|
BLACK |
283
|
|
|
|
|
|
|
BRICK_YELLOW |
284
|
|
|
|
|
|
|
BRIGHT_BLUE |
285
|
|
|
|
|
|
|
BRIGHT_GREEN |
286
|
|
|
|
|
|
|
BRIGHT_ORANGE |
287
|
|
|
|
|
|
|
BRIGHT_PURPLE |
288
|
|
|
|
|
|
|
BRIGHT_RED |
289
|
|
|
|
|
|
|
BRIGHT_REDDISH_VIOLET |
290
|
|
|
|
|
|
|
BRIGHT_YELLOW |
291
|
|
|
|
|
|
|
BRIGHT_YELLOWISH_GREEN |
292
|
|
|
|
|
|
|
COOL_YELLOW |
293
|
|
|
|
|
|
|
DARK_AZUR |
294
|
|
|
|
|
|
|
DARK_BROWN |
295
|
|
|
|
|
|
|
DARK_GREEN |
296
|
|
|
|
|
|
|
DARK_ORANGE |
297
|
|
|
|
|
|
|
DARK_RED |
298
|
|
|
|
|
|
|
DARK_STONE_GREY |
299
|
|
|
|
|
|
|
EARTH_BLUE |
300
|
|
|
|
|
|
|
EARTH_GREEN |
301
|
|
|
|
|
|
|
FLAME_YELLOWISH_ORANGE |
302
|
|
|
|
|
|
|
LAVENDER |
303
|
|
|
|
|
|
|
LIGHT_NOUGAT |
304
|
|
|
|
|
|
|
LIGHT_PURPLE |
305
|
|
|
|
|
|
|
LIGHT_ROYAL_BLUE |
306
|
|
|
|
|
|
|
LIGHT_STONE_GREY |
307
|
|
|
|
|
|
|
MEDIUM_AZUR |
308
|
|
|
|
|
|
|
MEDIUM_BLUE |
309
|
|
|
|
|
|
|
MEDIUM_LAVENDER |
310
|
|
|
|
|
|
|
MEDIUM_LILAC |
311
|
|
|
|
|
|
|
MEDIUM_NOUGAT |
312
|
|
|
|
|
|
|
MEDIUM_STONE_GREY |
313
|
|
|
|
|
|
|
MEDIUM_YELLOWISH_GREEN |
314
|
|
|
|
|
|
|
NOUGAT |
315
|
|
|
|
|
|
|
OLIVE_GREEN |
316
|
|
|
|
|
|
|
REDDISH_BROWN |
317
|
|
|
|
|
|
|
SAND_BLUE |
318
|
|
|
|
|
|
|
SAND_GREEN |
319
|
|
|
|
|
|
|
SAND_YELLOW |
320
|
|
|
|
|
|
|
SPRING_YELLOWISH_GREEN |
321
|
|
|
|
|
|
|
WHITE |
322
|
|
|
|
|
|
|
WHITE_GLOW |
323
|
1
|
|
|
1
|
|
7
|
); |
|
1
|
|
|
|
|
2
|
|
324
|
|
|
|
|
|
|
|
325
|
|
|
|
|
|
|
# Common Brick Dimensions (by stud count) |
326
|
1
|
|
|
|
|
94
|
use constant LEGO_BRICK_LENGTHS => qw( |
327
|
|
|
|
|
|
|
1 |
328
|
|
|
|
|
|
|
2 |
329
|
|
|
|
|
|
|
3 |
330
|
|
|
|
|
|
|
4 |
331
|
|
|
|
|
|
|
5 |
332
|
|
|
|
|
|
|
6 |
333
|
|
|
|
|
|
|
8 |
334
|
|
|
|
|
|
|
10 |
335
|
|
|
|
|
|
|
12 |
336
|
|
|
|
|
|
|
16 |
337
|
1
|
|
|
1
|
|
6
|
); |
|
1
|
|
|
|
|
7
|
|
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
# Lego Dimensions Info |
340
|
|
|
|
|
|
|
use constant { |
341
|
1
|
|
|
|
|
714
|
LEGO_UNIT => 1.6, # in millimeters |
342
|
|
|
|
|
|
|
# the rest of these values are in lego units |
343
|
|
|
|
|
|
|
LEGO_UNIT_LENGTH => 5, |
344
|
|
|
|
|
|
|
LEGO_UNIT_DEPTH => 5, |
345
|
|
|
|
|
|
|
LEGO_UNIT_HEIGHT => 6, |
346
|
|
|
|
|
|
|
LEGO_UNIT_STUD_DIAMETER => 3, |
347
|
|
|
|
|
|
|
LEGO_UNIT_STUD_HEIGHT => 1, |
348
|
|
|
|
|
|
|
LEGO_UNIT_STUD_SPACING => 2, # space between the edge of two lego studs on a brick |
349
|
|
|
|
|
|
|
LEGO_UNIT_EDGE_TO_STUD => 1, # distance from the edge of a brick to the edge of a stud (this is why stud spacing is double that) |
350
|
|
|
|
|
|
|
MILLIMETER_TO_INCH => 0.0393701, # just so we can provide a conversion option |
351
|
|
|
|
|
|
|
METRIC_SUFFIX => "mm", |
352
|
|
|
|
|
|
|
IMPERIAL_SUFFIX => "in.", |
353
|
1
|
|
|
1
|
|
7
|
}; |
|
1
|
|
|
|
|
1
|
|
354
|
|
|
|
|
|
|
|
355
|
|
|
|
|
|
|
# Color Info |
356
|
|
|
|
|
|
|
use constant { |
357
|
1
|
|
|
|
|
2686
|
AQUA_OFFICIAL_NAME => 'Aqua', |
358
|
|
|
|
|
|
|
AQUA_COMMON_NAME => 'Unikitty Blue', |
359
|
|
|
|
|
|
|
AQUA_HEX_COLOR => 'D3F2EA', |
360
|
|
|
|
|
|
|
AQUA_RGB_COLOR_RED => 211, |
361
|
|
|
|
|
|
|
AQUA_RGB_COLOR_GREEN => 242, |
362
|
|
|
|
|
|
|
AQUA_RGB_COLOR_BLUE => 234, |
363
|
|
|
|
|
|
|
|
364
|
|
|
|
|
|
|
BLACK_OFFICIAL_NAME => 'Black', |
365
|
|
|
|
|
|
|
BLACK_COMMON_NAME => 'Black', |
366
|
|
|
|
|
|
|
BLACK_HEX_COLOR => '010101', |
367
|
|
|
|
|
|
|
BLACK_RGB_COLOR_RED => 1, |
368
|
|
|
|
|
|
|
BLACK_RGB_COLOR_GREEN => 1, |
369
|
|
|
|
|
|
|
BLACK_RGB_COLOR_BLUE => 1, |
370
|
|
|
|
|
|
|
|
371
|
|
|
|
|
|
|
BRICK_YELLOW_OFFICIAL_NAME => 'Brick Yellow', |
372
|
|
|
|
|
|
|
BRICK_YELLOW_COMMON_NAME => 'Tan', |
373
|
|
|
|
|
|
|
BRICK_YELLOW_HEX_COLOR => 'D9BB7B', |
374
|
|
|
|
|
|
|
BRICK_YELLOW_RGB_COLOR_RED => 217, |
375
|
|
|
|
|
|
|
BRICK_YELLOW_RGB_COLOR_GREEN => 187, |
376
|
|
|
|
|
|
|
BRICK_YELLOW_RGB_COLOR_BLUE => 123, |
377
|
|
|
|
|
|
|
|
378
|
|
|
|
|
|
|
BRIGHT_BLUE_OFFICIAL_NAME => 'Bright Blue', |
379
|
|
|
|
|
|
|
BRIGHT_BLUE_COMMON_NAME => 'Blue', |
380
|
|
|
|
|
|
|
BRIGHT_BLUE_HEX_COLOR => '0057A8', |
381
|
|
|
|
|
|
|
BRIGHT_BLUE_RGB_COLOR_RED => 0, |
382
|
|
|
|
|
|
|
BRIGHT_BLUE_RGB_COLOR_GREEN => 87, |
383
|
|
|
|
|
|
|
BRIGHT_BLUE_RGB_COLOR_BLUE => 168, |
384
|
|
|
|
|
|
|
|
385
|
|
|
|
|
|
|
BRIGHT_GREEN_OFFICIAL_NAME => 'Bright Green', |
386
|
|
|
|
|
|
|
BRIGHT_GREEN_COMMON_NAME => 'Bright Green', |
387
|
|
|
|
|
|
|
BRIGHT_GREEN_HEX_COLOR => '009624', |
388
|
|
|
|
|
|
|
BRIGHT_GREEN_RGB_COLOR_RED => 0, |
389
|
|
|
|
|
|
|
BRIGHT_GREEN_RGB_COLOR_GREEN => 150, |
390
|
|
|
|
|
|
|
BRIGHT_GREEN_RGB_COLOR_BLUE => 36, |
391
|
|
|
|
|
|
|
|
392
|
|
|
|
|
|
|
BRIGHT_ORANGE_OFFICIAL_NAME => 'Bright Orange', |
393
|
|
|
|
|
|
|
BRIGHT_ORANGE_COMMON_NAME => 'Orange', |
394
|
|
|
|
|
|
|
BRIGHT_ORANGE_HEX_COLOR => 'E76318', |
395
|
|
|
|
|
|
|
BRIGHT_ORANGE_RGB_COLOR_RED => 231, |
396
|
|
|
|
|
|
|
BRIGHT_ORANGE_RGB_COLOR_GREEN => 99, |
397
|
|
|
|
|
|
|
BRIGHT_ORANGE_RGB_COLOR_BLUE => 24, |
398
|
|
|
|
|
|
|
|
399
|
|
|
|
|
|
|
BRIGHT_PURPLE_OFFICIAL_NAME => 'Bright Purple', |
400
|
|
|
|
|
|
|
BRIGHT_PURPLE_COMMON_NAME => 'Bright Pink', |
401
|
|
|
|
|
|
|
BRIGHT_PURPLE_HEX_COLOR => 'DE378B', |
402
|
|
|
|
|
|
|
BRIGHT_PURPLE_RGB_COLOR_RED => 222, |
403
|
|
|
|
|
|
|
BRIGHT_PURPLE_RGB_COLOR_GREEN => 55, |
404
|
|
|
|
|
|
|
BRIGHT_PURPLE_RGB_COLOR_BLUE => 139, |
405
|
|
|
|
|
|
|
|
406
|
|
|
|
|
|
|
BRIGHT_RED_OFFICIAL_NAME => 'Bright Red', |
407
|
|
|
|
|
|
|
BRIGHT_RED_COMMON_NAME => 'Red', |
408
|
|
|
|
|
|
|
BRIGHT_RED_HEX_COLOR => 'DE000D', |
409
|
|
|
|
|
|
|
BRIGHT_RED_RGB_COLOR_RED => 222, |
410
|
|
|
|
|
|
|
BRIGHT_RED_RGB_COLOR_GREEN => 0, |
411
|
|
|
|
|
|
|
BRIGHT_RED_RGB_COLOR_BLUE => 13, |
412
|
|
|
|
|
|
|
|
413
|
|
|
|
|
|
|
BRIGHT_REDDISH_VIOLET_OFFICIAL_NAME => 'Bright Reddish Violet', |
414
|
|
|
|
|
|
|
BRIGHT_REDDISH_VIOLET_COMMON_NAME => 'Magenta', |
415
|
|
|
|
|
|
|
BRIGHT_REDDISH_VIOLET_HEX_COLOR => '9C006B', |
416
|
|
|
|
|
|
|
BRIGHT_REDDISH_VIOLET_RGB_COLOR_RED => 156, |
417
|
|
|
|
|
|
|
BRIGHT_REDDISH_VIOLET_RGB_COLOR_GREEN => 0, |
418
|
|
|
|
|
|
|
BRIGHT_REDDISH_VIOLET_RGB_COLOR_BLUE => 107, |
419
|
|
|
|
|
|
|
|
420
|
|
|
|
|
|
|
BRIGHT_YELLOW_OFFICIAL_NAME => 'Bright Yellow', |
421
|
|
|
|
|
|
|
BRIGHT_YELLOW_COMMON_NAME => 'Yellow', |
422
|
|
|
|
|
|
|
BRIGHT_YELLOW_HEX_COLOR => 'FEC400', |
423
|
|
|
|
|
|
|
BRIGHT_YELLOW_RGB_COLOR_RED => 254, |
424
|
|
|
|
|
|
|
BRIGHT_YELLOW_RGB_COLOR_GREEN => 196, |
425
|
|
|
|
|
|
|
BRIGHT_YELLOW_RGB_COLOR_BLUE => 0, |
426
|
|
|
|
|
|
|
|
427
|
|
|
|
|
|
|
BRIGHT_YELLOWISH_GREEN_OFFICIAL_NAME => 'Bright Yellowish-Green', |
428
|
|
|
|
|
|
|
BRIGHT_YELLOWISH_GREEN_COMMON_NAME => 'Lime', |
429
|
|
|
|
|
|
|
BRIGHT_YELLOWISH_GREEN_HEX_COLOR => '95B90B', |
430
|
|
|
|
|
|
|
BRIGHT_YELLOWISH_GREEN_RGB_COLOR_RED => 149, |
431
|
|
|
|
|
|
|
BRIGHT_YELLOWISH_GREEN_RGB_COLOR_GREEN => 185, |
432
|
|
|
|
|
|
|
BRIGHT_YELLOWISH_GREEN_RGB_COLOR_BLUE => 11, |
433
|
|
|
|
|
|
|
|
434
|
|
|
|
|
|
|
COOL_YELLOW_OFFICIAL_NAME => 'Cool Yellow', |
435
|
|
|
|
|
|
|
COOL_YELLOW_COMMON_NAME => 'Blonde', |
436
|
|
|
|
|
|
|
COOL_YELLOW_HEX_COLOR => 'FFFF99', |
437
|
|
|
|
|
|
|
COOL_YELLOW_RGB_COLOR_RED => 255, |
438
|
|
|
|
|
|
|
COOL_YELLOW_RGB_COLOR_GREEN => 255, |
439
|
|
|
|
|
|
|
COOL_YELLOW_RGB_COLOR_BLUE => 153, |
440
|
|
|
|
|
|
|
|
441
|
|
|
|
|
|
|
DARK_AZUR_OFFICIAL_NAME => 'Dark Azur', |
442
|
|
|
|
|
|
|
DARK_AZUR_COMMON_NAME => '', |
443
|
|
|
|
|
|
|
DARK_AZUR_HEX_COLOR => '469BC3', |
444
|
|
|
|
|
|
|
DARK_AZUR_RGB_COLOR_RED => 70, |
445
|
|
|
|
|
|
|
DARK_AZUR_RGB_COLOR_GREEN => 155, |
446
|
|
|
|
|
|
|
DARK_AZUR_RGB_COLOR_BLUE => 195, |
447
|
|
|
|
|
|
|
|
448
|
|
|
|
|
|
|
DARK_BROWN_OFFICIAL_NAME => 'Dark Brown', |
449
|
|
|
|
|
|
|
DARK_BROWN_COMMON_NAME => 'Dark Brown', |
450
|
|
|
|
|
|
|
DARK_BROWN_HEX_COLOR => '300F06', |
451
|
|
|
|
|
|
|
DARK_BROWN_RGB_COLOR_RED => 48, |
452
|
|
|
|
|
|
|
DARK_BROWN_RGB_COLOR_GREEN => 15, |
453
|
|
|
|
|
|
|
DARK_BROWN_RGB_COLOR_BLUE => 6, |
454
|
|
|
|
|
|
|
|
455
|
|
|
|
|
|
|
DARK_GREEN_OFFICIAL_NAME => 'Dark Green', |
456
|
|
|
|
|
|
|
DARK_GREEN_COMMON_NAME => 'Green', |
457
|
|
|
|
|
|
|
DARK_GREEN_HEX_COLOR => '007B28', |
458
|
|
|
|
|
|
|
DARK_GREEN_RGB_COLOR_RED => 0, |
459
|
|
|
|
|
|
|
DARK_GREEN_RGB_COLOR_GREEN => 123, |
460
|
|
|
|
|
|
|
DARK_GREEN_RGB_COLOR_BLUE => 40, |
461
|
|
|
|
|
|
|
|
462
|
|
|
|
|
|
|
DARK_ORANGE_OFFICIAL_NAME => 'Dark Orange', |
463
|
|
|
|
|
|
|
DARK_ORANGE_COMMON_NAME => 'Dark Orange', |
464
|
|
|
|
|
|
|
DARK_ORANGE_HEX_COLOR => 'A83D15', |
465
|
|
|
|
|
|
|
DARK_ORANGE_RGB_COLOR_RED => 168, |
466
|
|
|
|
|
|
|
DARK_ORANGE_RGB_COLOR_GREEN => 61, |
467
|
|
|
|
|
|
|
DARK_ORANGE_RGB_COLOR_BLUE => 21, |
468
|
|
|
|
|
|
|
|
469
|
|
|
|
|
|
|
DARK_RED_OFFICIAL_NAME => 'Dark Red', |
470
|
|
|
|
|
|
|
DARK_RED_COMMON_NAME => 'Dark Red', |
471
|
|
|
|
|
|
|
DARK_RED_HEX_COLOR => '80081B', |
472
|
|
|
|
|
|
|
DARK_RED_RGB_COLOR_RED => 128, |
473
|
|
|
|
|
|
|
DARK_RED_RGB_COLOR_GREEN => 8, |
474
|
|
|
|
|
|
|
DARK_RED_RGB_COLOR_BLUE => 27, |
475
|
|
|
|
|
|
|
|
476
|
|
|
|
|
|
|
DARK_STONE_GREY_OFFICIAL_NAME => 'Dark Stone Grey', |
477
|
|
|
|
|
|
|
DARK_STONE_GREY_COMMON_NAME => 'Dark Grey', |
478
|
|
|
|
|
|
|
DARK_STONE_GREY_HEX_COLOR => '4C5156', |
479
|
|
|
|
|
|
|
DARK_STONE_GREY_RGB_COLOR_RED => 76, |
480
|
|
|
|
|
|
|
DARK_STONE_GREY_RGB_COLOR_GREEN => 81, |
481
|
|
|
|
|
|
|
DARK_STONE_GREY_RGB_COLOR_BLUE => 86, |
482
|
|
|
|
|
|
|
|
483
|
|
|
|
|
|
|
EARTH_BLUE_OFFICIAL_NAME => 'Earth Blue', |
484
|
|
|
|
|
|
|
EARTH_BLUE_COMMON_NAME => 'Dark Blue', |
485
|
|
|
|
|
|
|
EARTH_BLUE_HEX_COLOR => '002541', |
486
|
|
|
|
|
|
|
EARTH_BLUE_RGB_COLOR_RED => 0, |
487
|
|
|
|
|
|
|
EARTH_BLUE_RGB_COLOR_GREEN => 37, |
488
|
|
|
|
|
|
|
EARTH_BLUE_RGB_COLOR_BLUE => 65, |
489
|
|
|
|
|
|
|
|
490
|
|
|
|
|
|
|
EARTH_GREEN_OFFICIAL_NAME => 'Earth Green', |
491
|
|
|
|
|
|
|
EARTH_GREEN_COMMON_NAME => 'Dark Green', |
492
|
|
|
|
|
|
|
EARTH_GREEN_HEX_COLOR => '003416', |
493
|
|
|
|
|
|
|
EARTH_GREEN_RGB_COLOR_RED => 0, |
494
|
|
|
|
|
|
|
EARTH_GREEN_RGB_COLOR_GREEN => 52, |
495
|
|
|
|
|
|
|
EARTH_GREEN_RGB_COLOR_BLUE => 22, |
496
|
|
|
|
|
|
|
|
497
|
|
|
|
|
|
|
FLAME_YELLOWISH_ORANGE_OFFICIAL_NAME => 'Flame Yellowish Orange', |
498
|
|
|
|
|
|
|
FLAME_YELLOWISH_ORANGE_COMMON_NAME => 'Bright Light Orange', |
499
|
|
|
|
|
|
|
FLAME_YELLOWISH_ORANGE_HEX_COLOR => 'F49B00', |
500
|
|
|
|
|
|
|
FLAME_YELLOWISH_ORANGE_RGB_COLOR_RED => 244, |
501
|
|
|
|
|
|
|
FLAME_YELLOWISH_ORANGE_RGB_COLOR_GREEN => 155, |
502
|
|
|
|
|
|
|
FLAME_YELLOWISH_ORANGE_RGB_COLOR_BLUE => 0, |
503
|
|
|
|
|
|
|
|
504
|
|
|
|
|
|
|
LAVENDER_OFFICIAL_NAME => 'Lavender', |
505
|
|
|
|
|
|
|
LAVENDER_COMMON_NAME => 'Lavender', |
506
|
|
|
|
|
|
|
LAVENDER_HEX_COLOR => 'CDA4DE', |
507
|
|
|
|
|
|
|
LAVENDER_RGB_COLOR_RED => 205, |
508
|
|
|
|
|
|
|
LAVENDER_RGB_COLOR_GREEN => 164, |
509
|
|
|
|
|
|
|
LAVENDER_RGB_COLOR_BLUE => 222, |
510
|
|
|
|
|
|
|
|
511
|
|
|
|
|
|
|
LIGHT_NOUGAT_OFFICIAL_NAME => 'Light Nougat', |
512
|
|
|
|
|
|
|
LIGHT_NOUGAT_COMMON_NAME => 'Light Flesh', |
513
|
|
|
|
|
|
|
LIGHT_NOUGAT_HEX_COLOR => 'F5C189', |
514
|
|
|
|
|
|
|
LIGHT_NOUGAT_RGB_COLOR_RED => 245, |
515
|
|
|
|
|
|
|
LIGHT_NOUGAT_RGB_COLOR_GREEN => 193, |
516
|
|
|
|
|
|
|
LIGHT_NOUGAT_RGB_COLOR_BLUE => 137, |
517
|
|
|
|
|
|
|
|
518
|
|
|
|
|
|
|
LIGHT_PURPLE_OFFICIAL_NAME => 'Light Purple', |
519
|
|
|
|
|
|
|
LIGHT_PURPLE_COMMON_NAME => 'Light Pink', |
520
|
|
|
|
|
|
|
LIGHT_PURPLE_HEX_COLOR => 'EE9DC3', |
521
|
|
|
|
|
|
|
LIGHT_PURPLE_RGB_COLOR_RED => 238, |
522
|
|
|
|
|
|
|
LIGHT_PURPLE_RGB_COLOR_GREEN => 157, |
523
|
|
|
|
|
|
|
LIGHT_PURPLE_RGB_COLOR_BLUE => 195, |
524
|
|
|
|
|
|
|
|
525
|
|
|
|
|
|
|
LIGHT_ROYAL_BLUE_OFFICIAL_NAME => 'Light Royal Blue', |
526
|
|
|
|
|
|
|
LIGHT_ROYAL_BLUE_COMMON_NAME => 'Light Blue', |
527
|
|
|
|
|
|
|
LIGHT_ROYAL_BLUE_HEX_COLOR => '87C0EA', |
528
|
|
|
|
|
|
|
LIGHT_ROYAL_BLUE_RGB_COLOR_RED => 135, |
529
|
|
|
|
|
|
|
LIGHT_ROYAL_BLUE_RGB_COLOR_GREEN => 192, |
530
|
|
|
|
|
|
|
LIGHT_ROYAL_BLUE_RGB_COLOR_BLUE => 234, |
531
|
|
|
|
|
|
|
|
532
|
|
|
|
|
|
|
LIGHT_STONE_GREY_OFFICIAL_NAME => 'Light Stone Grey', |
533
|
|
|
|
|
|
|
LIGHT_STONE_GREY_COMMON_NAME => 'Very Light Grey', |
534
|
|
|
|
|
|
|
LIGHT_STONE_GREY_HEX_COLOR => 'E4E4DA', |
535
|
|
|
|
|
|
|
LIGHT_STONE_GREY_RGB_COLOR_RED => 228, |
536
|
|
|
|
|
|
|
LIGHT_STONE_GREY_RGB_COLOR_GREEN => 228, |
537
|
|
|
|
|
|
|
LIGHT_STONE_GREY_RGB_COLOR_BLUE => 218, |
538
|
|
|
|
|
|
|
|
539
|
|
|
|
|
|
|
MEDIUM_AZUR_OFFICIAL_NAME => 'Medium Azur', |
540
|
|
|
|
|
|
|
MEDIUM_AZUR_COMMON_NAME => 'Azure', |
541
|
|
|
|
|
|
|
MEDIUM_AZUR_HEX_COLOR => '68C3E2', |
542
|
|
|
|
|
|
|
MEDIUM_AZUR_RGB_COLOR_RED => 104, |
543
|
|
|
|
|
|
|
MEDIUM_AZUR_RGB_COLOR_GREEN => 195, |
544
|
|
|
|
|
|
|
MEDIUM_AZUR_RGB_COLOR_BLUE => 226, |
545
|
|
|
|
|
|
|
|
546
|
|
|
|
|
|
|
MEDIUM_BLUE_OFFICIAL_NAME => 'Medium Blue', |
547
|
|
|
|
|
|
|
MEDIUM_BLUE_COMMON_NAME => 'Medium Blue', |
548
|
|
|
|
|
|
|
MEDIUM_BLUE_HEX_COLOR => '478CC6', |
549
|
|
|
|
|
|
|
MEDIUM_BLUE_RGB_COLOR_RED => 71, |
550
|
|
|
|
|
|
|
MEDIUM_BLUE_RGB_COLOR_GREEN => 140, |
551
|
|
|
|
|
|
|
MEDIUM_BLUE_RGB_COLOR_BLUE => 198, |
552
|
|
|
|
|
|
|
|
553
|
|
|
|
|
|
|
MEDIUM_LAVENDER_OFFICIAL_NAME => 'Medium Lavender', |
554
|
|
|
|
|
|
|
MEDIUM_LAVENDER_COMMON_NAME => '', |
555
|
|
|
|
|
|
|
MEDIUM_LAVENDER_HEX_COLOR => 'A06EB9', |
556
|
|
|
|
|
|
|
MEDIUM_LAVENDER_RGB_COLOR_RED => 160, |
557
|
|
|
|
|
|
|
MEDIUM_LAVENDER_RGB_COLOR_GREEN => 110, |
558
|
|
|
|
|
|
|
MEDIUM_LAVENDER_RGB_COLOR_BLUE => 185, |
559
|
|
|
|
|
|
|
|
560
|
|
|
|
|
|
|
MEDIUM_LILAC_OFFICIAL_NAME => 'Medium Lilac', |
561
|
|
|
|
|
|
|
MEDIUM_LILAC_COMMON_NAME => 'Dark Purple', |
562
|
|
|
|
|
|
|
MEDIUM_LILAC_HEX_COLOR => '2C1577', |
563
|
|
|
|
|
|
|
MEDIUM_LILAC_RGB_COLOR_RED => 44, |
564
|
|
|
|
|
|
|
MEDIUM_LILAC_RGB_COLOR_GREEN => 21, |
565
|
|
|
|
|
|
|
MEDIUM_LILAC_RGB_COLOR_BLUE => 119, |
566
|
|
|
|
|
|
|
|
567
|
|
|
|
|
|
|
MEDIUM_NOUGAT_OFFICIAL_NAME => 'Medium Nougat', |
568
|
|
|
|
|
|
|
MEDIUM_NOUGAT_COMMON_NAME => 'Medium Dark Flesh', |
569
|
|
|
|
|
|
|
MEDIUM_NOUGAT_HEX_COLOR => 'AA7D55', |
570
|
|
|
|
|
|
|
MEDIUM_NOUGAT_RGB_COLOR_RED => 170, |
571
|
|
|
|
|
|
|
MEDIUM_NOUGAT_RGB_COLOR_GREEN => 125, |
572
|
|
|
|
|
|
|
MEDIUM_NOUGAT_RGB_COLOR_BLUE => 85, |
573
|
|
|
|
|
|
|
|
574
|
|
|
|
|
|
|
MEDIUM_STONE_GREY_OFFICIAL_NAME => 'Medium Stone Grey', |
575
|
|
|
|
|
|
|
MEDIUM_STONE_GREY_COMMON_NAME => 'Light Grey', |
576
|
|
|
|
|
|
|
MEDIUM_STONE_GREY_HEX_COLOR => '9C9291', |
577
|
|
|
|
|
|
|
MEDIUM_STONE_GREY_RGB_COLOR_RED => 156, |
578
|
|
|
|
|
|
|
MEDIUM_STONE_GREY_RGB_COLOR_GREEN => 146, |
579
|
|
|
|
|
|
|
MEDIUM_STONE_GREY_RGB_COLOR_BLUE => 145, |
580
|
|
|
|
|
|
|
|
581
|
|
|
|
|
|
|
MEDIUM_YELLOWISH_GREEN_OFFICIAL_NAME => 'Medium-Yellowish green', |
582
|
|
|
|
|
|
|
MEDIUM_YELLOWISH_GREEN_COMMON_NAME => 'Dark Lime; Medium Lime', |
583
|
|
|
|
|
|
|
MEDIUM_YELLOWISH_GREEN_HEX_COLOR => '96B93B', |
584
|
|
|
|
|
|
|
MEDIUM_YELLOWISH_GREEN_RGB_COLOR_RED => 150, |
585
|
|
|
|
|
|
|
MEDIUM_YELLOWISH_GREEN_RGB_COLOR_GREEN => 185, |
586
|
|
|
|
|
|
|
MEDIUM_YELLOWISH_GREEN_RGB_COLOR_BLUE => 59, |
587
|
|
|
|
|
|
|
|
588
|
|
|
|
|
|
|
NOUGAT_OFFICIAL_NAME => 'Nougat', |
589
|
|
|
|
|
|
|
NOUGAT_COMMON_NAME => 'Flesh', |
590
|
|
|
|
|
|
|
NOUGAT_HEX_COLOR => 'D67240', |
591
|
|
|
|
|
|
|
NOUGAT_RGB_COLOR_RED => 214, |
592
|
|
|
|
|
|
|
NOUGAT_RGB_COLOR_GREEN => 114, |
593
|
|
|
|
|
|
|
NOUGAT_RGB_COLOR_BLUE => 64, |
594
|
|
|
|
|
|
|
|
595
|
|
|
|
|
|
|
OLIVE_GREEN_OFFICIAL_NAME => 'Olive Green', |
596
|
|
|
|
|
|
|
OLIVE_GREEN_COMMON_NAME => 'Olive Green', |
597
|
|
|
|
|
|
|
OLIVE_GREEN_HEX_COLOR => '77774E', |
598
|
|
|
|
|
|
|
OLIVE_GREEN_RGB_COLOR_RED => 119, |
599
|
|
|
|
|
|
|
OLIVE_GREEN_RGB_COLOR_GREEN => 119, |
600
|
|
|
|
|
|
|
OLIVE_GREEN_RGB_COLOR_BLUE => 78, |
601
|
|
|
|
|
|
|
|
602
|
|
|
|
|
|
|
REDDISH_BROWN_OFFICIAL_NAME => 'Reddish Brown', |
603
|
|
|
|
|
|
|
REDDISH_BROWN_COMMON_NAME => 'Reddish Brown', |
604
|
|
|
|
|
|
|
REDDISH_BROWN_HEX_COLOR => '5B1C0C', |
605
|
|
|
|
|
|
|
REDDISH_BROWN_RGB_COLOR_RED => 91, |
606
|
|
|
|
|
|
|
REDDISH_BROWN_RGB_COLOR_GREEN => 28, |
607
|
|
|
|
|
|
|
REDDISH_BROWN_RGB_COLOR_BLUE => 12, |
608
|
|
|
|
|
|
|
|
609
|
|
|
|
|
|
|
SAND_BLUE_OFFICIAL_NAME => 'Sand Blue', |
610
|
|
|
|
|
|
|
SAND_BLUE_COMMON_NAME => 'Sand Blue', |
611
|
|
|
|
|
|
|
SAND_BLUE_HEX_COLOR => '5E748C', |
612
|
|
|
|
|
|
|
SAND_BLUE_RGB_COLOR_RED => 94, |
613
|
|
|
|
|
|
|
SAND_BLUE_RGB_COLOR_GREEN => 116, |
614
|
|
|
|
|
|
|
SAND_BLUE_RGB_COLOR_BLUE => 140, |
615
|
|
|
|
|
|
|
|
616
|
|
|
|
|
|
|
SAND_GREEN_OFFICIAL_NAME => 'Sand Green', |
617
|
|
|
|
|
|
|
SAND_GREEN_COMMON_NAME => 'Sand Green', |
618
|
|
|
|
|
|
|
SAND_GREEN_HEX_COLOR => '5F8265', |
619
|
|
|
|
|
|
|
SAND_GREEN_RGB_COLOR_RED => 95, |
620
|
|
|
|
|
|
|
SAND_GREEN_RGB_COLOR_GREEN => 130, |
621
|
|
|
|
|
|
|
SAND_GREEN_RGB_COLOR_BLUE => 101, |
622
|
|
|
|
|
|
|
|
623
|
|
|
|
|
|
|
SAND_YELLOW_OFFICIAL_NAME => 'Sand Yellow', |
624
|
|
|
|
|
|
|
SAND_YELLOW_COMMON_NAME => 'Dark Tan', |
625
|
|
|
|
|
|
|
SAND_YELLOW_HEX_COLOR => '8D7452', |
626
|
|
|
|
|
|
|
SAND_YELLOW_RGB_COLOR_RED => 141, |
627
|
|
|
|
|
|
|
SAND_YELLOW_RGB_COLOR_GREEN => 116, |
628
|
|
|
|
|
|
|
SAND_YELLOW_RGB_COLOR_BLUE => 82, |
629
|
|
|
|
|
|
|
|
630
|
|
|
|
|
|
|
SPRING_YELLOWISH_GREEN_OFFICIAL_NAME => 'Spring Yellowish Green', |
631
|
|
|
|
|
|
|
SPRING_YELLOWISH_GREEN_COMMON_NAME => 'Unikitty Green', |
632
|
|
|
|
|
|
|
SPRING_YELLOWISH_GREEN_HEX_COLOR => 'E2F99A', |
633
|
|
|
|
|
|
|
SPRING_YELLOWISH_GREEN_RGB_COLOR_RED => 226, |
634
|
|
|
|
|
|
|
SPRING_YELLOWISH_GREEN_RGB_COLOR_GREEN => 249, |
635
|
|
|
|
|
|
|
SPRING_YELLOWISH_GREEN_RGB_COLOR_BLUE => 154, |
636
|
|
|
|
|
|
|
|
637
|
|
|
|
|
|
|
WHITE_OFFICIAL_NAME => 'White', |
638
|
|
|
|
|
|
|
WHITE_COMMON_NAME => 'White', |
639
|
|
|
|
|
|
|
WHITE_HEX_COLOR => 'FFFFFF', |
640
|
|
|
|
|
|
|
WHITE_RGB_COLOR_RED => 255, |
641
|
|
|
|
|
|
|
WHITE_RGB_COLOR_GREEN => 255, |
642
|
|
|
|
|
|
|
WHITE_RGB_COLOR_BLUE => 255, |
643
|
|
|
|
|
|
|
|
644
|
|
|
|
|
|
|
WHITE_GLOW_OFFICIAL_NAME => 'White Glow', |
645
|
|
|
|
|
|
|
WHITE_GLOW_COMMON_NAME => 'Glow-in-the-dark', |
646
|
|
|
|
|
|
|
WHITE_GLOW_HEX_COLOR => 'F5F3D7', |
647
|
|
|
|
|
|
|
WHITE_GLOW_RGB_COLOR_RED => 245, |
648
|
|
|
|
|
|
|
WHITE_GLOW_RGB_COLOR_GREEN => 243, |
649
|
|
|
|
|
|
|
WHITE_GLOW_RGB_COLOR_BLUE => 215, |
650
|
1
|
|
|
1
|
|
8
|
}; |
|
1
|
|
|
|
|
1
|
|
651
|
|
|
|
|
|
|
|
652
|
1
|
|
|
1
|
|
8
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
39
|
|
653
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
67
|
|
654
|
|
|
|
|
|
|
|
655
|
|
|
|
|
|
|
=pod |
656
|
|
|
|
|
|
|
|
657
|
|
|
|
|
|
|
=head1 NAME |
658
|
|
|
|
|
|
|
|
659
|
|
|
|
|
|
|
Lego::From::PNG::Const - Lego::From::PNG related constants, mainly lego colors |
660
|
|
|
|
|
|
|
|
661
|
|
|
|
|
|
|
=head1 SYNOPSIS |
662
|
|
|
|
|
|
|
|
663
|
|
|
|
|
|
|
# Get specific constants |
664
|
|
|
|
|
|
|
use Lego::From::PNG::Const qw/PNG_TRANSFORM_INVERT_ALPHA |
665
|
|
|
|
|
|
|
PNG_COLOR_MASK_ALPHA/; |
666
|
|
|
|
|
|
|
|
667
|
|
|
|
|
|
|
# Get all constants |
668
|
|
|
|
|
|
|
use Image::PNG::Const ':all'; |
669
|
|
|
|
|
|
|
|
670
|
|
|
|
|
|
|
=head1 DESCRIPTION |
671
|
|
|
|
|
|
|
|
672
|
|
|
|
|
|
|
Constants used in L |
673
|
|
|
|
|
|
|
|
674
|
|
|
|
|
|
|
=head1 CONSTANTS |
675
|
|
|
|
|
|
|
|
676
|
|
|
|
|
|
|
=over |
677
|
|
|
|
|
|
|
|
678
|
|
|
|
|
|
|
=item LEGO_COLORS |
679
|
|
|
|
|
|
|
|
680
|
|
|
|
|
|
|
List of colors that have constant definitions in this file. Note: these names are made from a color's original name. |
681
|
|
|
|
|
|
|
|
682
|
|
|
|
|
|
|
=item (COLOR)_COMMON_NAME |
683
|
|
|
|
|
|
|
|
684
|
|
|
|
|
|
|
The common name of a color. |
685
|
|
|
|
|
|
|
|
686
|
|
|
|
|
|
|
=item (COLOR)_HEX_COLOR |
687
|
|
|
|
|
|
|
|
688
|
|
|
|
|
|
|
The rgb hex value for a color |
689
|
|
|
|
|
|
|
|
690
|
|
|
|
|
|
|
=item (COLOR)_RGB_COLOR_RED |
691
|
|
|
|
|
|
|
|
692
|
|
|
|
|
|
|
The red number part of a rgb value for a color |
693
|
|
|
|
|
|
|
|
694
|
|
|
|
|
|
|
=item (COLOR)_RGB_COLOR_GREEN |
695
|
|
|
|
|
|
|
|
696
|
|
|
|
|
|
|
The green number part of a rgb value for a color |
697
|
|
|
|
|
|
|
|
698
|
|
|
|
|
|
|
=item (COLOR)_RGB_COLOR_BLUE |
699
|
|
|
|
|
|
|
|
700
|
|
|
|
|
|
|
The blue number part of a rgb value for a color |
701
|
|
|
|
|
|
|
|
702
|
|
|
|
|
|
|
=back |
703
|
|
|
|
|
|
|
|
704
|
|
|
|
|
|
|
=head1 AUTHOR |
705
|
|
|
|
|
|
|
|
706
|
|
|
|
|
|
|
Travis Chase |
707
|
|
|
|
|
|
|
CPAN ID: GAUDEON |
708
|
|
|
|
|
|
|
gaudeon@cpan.org |
709
|
|
|
|
|
|
|
https://github.com/gaudeon/Lego-From-Png |
710
|
|
|
|
|
|
|
|
711
|
|
|
|
|
|
|
=head1 COPYRIGHT |
712
|
|
|
|
|
|
|
|
713
|
|
|
|
|
|
|
This program is free software licensed under the... |
714
|
|
|
|
|
|
|
|
715
|
|
|
|
|
|
|
The MIT License |
716
|
|
|
|
|
|
|
|
717
|
|
|
|
|
|
|
The full text of the license can be found in the |
718
|
|
|
|
|
|
|
LICENSE file included with this module. |
719
|
|
|
|
|
|
|
|
720
|
|
|
|
|
|
|
=head1 SEE ALSO |
721
|
|
|
|
|
|
|
|
722
|
|
|
|
|
|
|
perl(1). |
723
|
|
|
|
|
|
|
|
724
|
|
|
|
|
|
|
=cut |
725
|
|
|
|
|
|
|
|
726
|
|
|
|
|
|
|
1; |