color 1.4.2 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- checksums.yaml.gz.sig +2 -0
- data.tar.gz.sig +2 -3
- data/History.rdoc +33 -0
- data/Manifest.txt +1 -1
- data/README.rdoc +14 -2
- data/Rakefile +20 -5
- data/lib/color.rb +104 -53
- data/lib/color/cmyk.rb +39 -43
- data/lib/color/css.rb +1 -10
- data/lib/color/grayscale.rb +33 -34
- data/lib/color/hsl.rb +96 -65
- data/lib/color/palette/monocontrast.rb +24 -28
- data/lib/color/rgb.rb +152 -67
- data/lib/color/rgb/colors.rb +166 -0
- data/lib/color/rgb/metallic.rb +26 -29
- data/lib/color/yiq.rb +13 -23
- data/test/test_adobecolor.rb +2 -2
- data/test/test_cmyk.rb +2 -2
- data/test/test_color.rb +2 -3
- data/test/test_css.rb +11 -9
- data/test/test_gimp.rb +2 -2
- data/test/test_grayscale.rb +2 -2
- data/test/test_hsl.rb +2 -2
- data/test/test_monocontrast.rb +2 -2
- data/test/test_rgb.rb +38 -4
- data/test/test_yiq.rb +2 -2
- metadata +57 -94
- metadata.gz.sig +0 -0
- data/lib/color/rgb-colors.rb +0 -343
data/test/test_yiq.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: color
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.5.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Austin Ziegler
|
@@ -10,69 +9,53 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain:
|
13
|
-
- !
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
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Z3OCswZjg4
|
37
|
+
SlF1Y3hPVG1URjFOYkxGcGlSd1FVWjF6b1piTmcyZTdtU2hjL2VleG5WTFdL
|
38
|
+
Rkt4Um9QNgpLUGozV29EK3NwQjhmQT09Ci0tLS0tRU5EIENFUlRJRklDQVRF
|
39
|
+
LS0tLS0K
|
40
|
+
date: 2014-01-28 00:00:00.000000000 Z
|
55
41
|
dependencies:
|
56
42
|
- !ruby/object:Gem::Dependency
|
57
43
|
name: minitest
|
58
44
|
requirement: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
45
|
requirements:
|
61
46
|
- - ~>
|
62
47
|
- !ruby/object:Gem::Version
|
63
|
-
version: '5.
|
48
|
+
version: '5.2'
|
64
49
|
type: :development
|
65
50
|
prerelease: false
|
66
51
|
version_requirements: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
52
|
requirements:
|
69
53
|
- - ~>
|
70
54
|
- !ruby/object:Gem::Version
|
71
|
-
version: '5.
|
55
|
+
version: '5.2'
|
72
56
|
- !ruby/object:Gem::Dependency
|
73
57
|
name: rubyforge
|
74
58
|
requirement: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
59
|
requirements:
|
77
60
|
- - ! '>='
|
78
61
|
- !ruby/object:Gem::Version
|
@@ -80,7 +63,6 @@ dependencies:
|
|
80
63
|
type: :development
|
81
64
|
prerelease: false
|
82
65
|
version_requirements: !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
66
|
requirements:
|
85
67
|
- - ! '>='
|
86
68
|
- !ruby/object:Gem::Version
|
@@ -88,7 +70,6 @@ dependencies:
|
|
88
70
|
- !ruby/object:Gem::Dependency
|
89
71
|
name: rdoc
|
90
72
|
requirement: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
73
|
requirements:
|
93
74
|
- - ~>
|
94
75
|
- !ruby/object:Gem::Version
|
@@ -96,31 +77,13 @@ dependencies:
|
|
96
77
|
type: :development
|
97
78
|
prerelease: false
|
98
79
|
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
80
|
requirements:
|
101
81
|
- - ~>
|
102
82
|
- !ruby/object:Gem::Version
|
103
83
|
version: '4.0'
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: hoe-bundler
|
106
|
-
requirement: !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
108
|
-
requirements:
|
109
|
-
- - ~>
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: '1.2'
|
112
|
-
type: :development
|
113
|
-
prerelease: false
|
114
|
-
version_requirements: !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
|
-
requirements:
|
117
|
-
- - ~>
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: '1.2'
|
120
84
|
- !ruby/object:Gem::Dependency
|
121
85
|
name: hoe-doofus
|
122
86
|
requirement: !ruby/object:Gem::Requirement
|
123
|
-
none: false
|
124
87
|
requirements:
|
125
88
|
- - ~>
|
126
89
|
- !ruby/object:Gem::Version
|
@@ -128,7 +91,6 @@ dependencies:
|
|
128
91
|
type: :development
|
129
92
|
prerelease: false
|
130
93
|
version_requirements: !ruby/object:Gem::Requirement
|
131
|
-
none: false
|
132
94
|
requirements:
|
133
95
|
- - ~>
|
134
96
|
- !ruby/object:Gem::Version
|
@@ -136,7 +98,6 @@ dependencies:
|
|
136
98
|
- !ruby/object:Gem::Dependency
|
137
99
|
name: hoe-gemspec2
|
138
100
|
requirement: !ruby/object:Gem::Requirement
|
139
|
-
none: false
|
140
101
|
requirements:
|
141
102
|
- - ~>
|
142
103
|
- !ruby/object:Gem::Version
|
@@ -144,7 +105,6 @@ dependencies:
|
|
144
105
|
type: :development
|
145
106
|
prerelease: false
|
146
107
|
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
none: false
|
148
108
|
requirements:
|
149
109
|
- - ~>
|
150
110
|
- !ruby/object:Gem::Version
|
@@ -152,7 +112,6 @@ dependencies:
|
|
152
112
|
- !ruby/object:Gem::Dependency
|
153
113
|
name: hoe-git
|
154
114
|
requirement: !ruby/object:Gem::Requirement
|
155
|
-
none: false
|
156
115
|
requirements:
|
157
116
|
- - ~>
|
158
117
|
- !ruby/object:Gem::Version
|
@@ -160,7 +119,6 @@ dependencies:
|
|
160
119
|
type: :development
|
161
120
|
prerelease: false
|
162
121
|
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
none: false
|
164
122
|
requirements:
|
165
123
|
- - ~>
|
166
124
|
- !ruby/object:Gem::Version
|
@@ -168,7 +126,6 @@ dependencies:
|
|
168
126
|
- !ruby/object:Gem::Dependency
|
169
127
|
name: hoe-rubygems
|
170
128
|
requirement: !ruby/object:Gem::Requirement
|
171
|
-
none: false
|
172
129
|
requirements:
|
173
130
|
- - ~>
|
174
131
|
- !ruby/object:Gem::Version
|
@@ -176,7 +133,6 @@ dependencies:
|
|
176
133
|
type: :development
|
177
134
|
prerelease: false
|
178
135
|
version_requirements: !ruby/object:Gem::Requirement
|
179
|
-
none: false
|
180
136
|
requirements:
|
181
137
|
- - ~>
|
182
138
|
- !ruby/object:Gem::Version
|
@@ -184,7 +140,6 @@ dependencies:
|
|
184
140
|
- !ruby/object:Gem::Dependency
|
185
141
|
name: hoe-travis
|
186
142
|
requirement: !ruby/object:Gem::Requirement
|
187
|
-
none: false
|
188
143
|
requirements:
|
189
144
|
- - ~>
|
190
145
|
- !ruby/object:Gem::Version
|
@@ -192,7 +147,6 @@ dependencies:
|
|
192
147
|
type: :development
|
193
148
|
prerelease: false
|
194
149
|
version_requirements: !ruby/object:Gem::Requirement
|
195
|
-
none: false
|
196
150
|
requirements:
|
197
151
|
- - ~>
|
198
152
|
- !ruby/object:Gem::Version
|
@@ -200,7 +154,6 @@ dependencies:
|
|
200
154
|
- !ruby/object:Gem::Dependency
|
201
155
|
name: rake
|
202
156
|
requirement: !ruby/object:Gem::Requirement
|
203
|
-
none: false
|
204
157
|
requirements:
|
205
158
|
- - ~>
|
206
159
|
- !ruby/object:Gem::Version
|
@@ -208,7 +161,6 @@ dependencies:
|
|
208
161
|
type: :development
|
209
162
|
prerelease: false
|
210
163
|
version_requirements: !ruby/object:Gem::Requirement
|
211
|
-
none: false
|
212
164
|
requirements:
|
213
165
|
- - ~>
|
214
166
|
- !ruby/object:Gem::Version
|
@@ -216,19 +168,17 @@ dependencies:
|
|
216
168
|
- !ruby/object:Gem::Dependency
|
217
169
|
name: hoe
|
218
170
|
requirement: !ruby/object:Gem::Requirement
|
219
|
-
none: false
|
220
171
|
requirements:
|
221
172
|
- - ~>
|
222
173
|
- !ruby/object:Gem::Version
|
223
|
-
version: '3.
|
174
|
+
version: '3.8'
|
224
175
|
type: :development
|
225
176
|
prerelease: false
|
226
177
|
version_requirements: !ruby/object:Gem::Requirement
|
227
|
-
none: false
|
228
178
|
requirements:
|
229
179
|
- - ~>
|
230
180
|
- !ruby/object:Gem::Version
|
231
|
-
version: '3.
|
181
|
+
version: '3.8'
|
232
182
|
description: ! 'Color is a Ruby library to provide basic RGB, CMYK, HSL, and other
|
233
183
|
colourspace
|
234
184
|
|
@@ -256,9 +206,22 @@ description: ! 'Color is a Ruby library to provide basic RGB, CMYK, HSL, and oth
|
|
256
206
|
L*a*b*, XYZ) to non-absolute colour spaces (like RGB).
|
257
207
|
|
258
208
|
|
259
|
-
Color version 1.
|
209
|
+
Color version 1.5.1 is mostly a maintenance release, fixing some bugs that may
|
260
210
|
|
261
|
-
|
211
|
+
have been introduced with the previous release on Ruby 1.8.7. New features
|
212
|
+
|
213
|
+
include an experimental contrast comparison method for RGB colours (found in
|
214
|
+
|
215
|
+
lib/color/rgb/contrast.rb) provided by Dave Heitzman, and methods suggested by
|
216
|
+
|
217
|
+
Thomas Sawyer based on the Spectrum library.
|
218
|
+
|
219
|
+
|
220
|
+
Barring bugs introduced in this release, this will be the last version of color
|
221
|
+
|
222
|
+
that supports Ruby 1.8, so make sure that your gem specification is set
|
223
|
+
|
224
|
+
properly, to <tt>~> 1.5</tt> if that matters for your application.'
|
262
225
|
email:
|
263
226
|
- austin@rubyforge.org
|
264
227
|
- matt@postsomnia.com
|
@@ -271,7 +234,9 @@ extra_rdoc_files:
|
|
271
234
|
- README.rdoc
|
272
235
|
- Contributing.rdoc
|
273
236
|
files:
|
237
|
+
- .gemtest
|
274
238
|
- .hoerc
|
239
|
+
- Contributing.rdoc
|
275
240
|
- History.rdoc
|
276
241
|
- Licence.rdoc
|
277
242
|
- Manifest.txt
|
@@ -286,8 +251,8 @@ files:
|
|
286
251
|
- lib/color/palette/adobecolor.rb
|
287
252
|
- lib/color/palette/gimp.rb
|
288
253
|
- lib/color/palette/monocontrast.rb
|
289
|
-
- lib/color/rgb-colors.rb
|
290
254
|
- lib/color/rgb.rb
|
255
|
+
- lib/color/rgb/colors.rb
|
291
256
|
- lib/color/rgb/metallic.rb
|
292
257
|
- lib/color/yiq.rb
|
293
258
|
- test/test_adobecolor.rb
|
@@ -300,10 +265,10 @@ files:
|
|
300
265
|
- test/test_monocontrast.rb
|
301
266
|
- test/test_rgb.rb
|
302
267
|
- test/test_yiq.rb
|
303
|
-
- Contributing.rdoc
|
304
|
-
- .gemtest
|
305
268
|
homepage: http://color.rubyforge.org
|
306
|
-
licenses:
|
269
|
+
licenses:
|
270
|
+
- MIT
|
271
|
+
metadata: {}
|
307
272
|
post_install_message:
|
308
273
|
rdoc_options:
|
309
274
|
- --main
|
@@ -311,22 +276,20 @@ rdoc_options:
|
|
311
276
|
require_paths:
|
312
277
|
- lib
|
313
278
|
required_ruby_version: !ruby/object:Gem::Requirement
|
314
|
-
none: false
|
315
279
|
requirements:
|
316
280
|
- - ! '>='
|
317
281
|
- !ruby/object:Gem::Version
|
318
282
|
version: '0'
|
319
283
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
320
|
-
none: false
|
321
284
|
requirements:
|
322
285
|
- - ! '>='
|
323
286
|
- !ruby/object:Gem::Version
|
324
287
|
version: '0'
|
325
288
|
requirements: []
|
326
289
|
rubyforge_project: color
|
327
|
-
rubygems_version:
|
290
|
+
rubygems_version: 2.2.1
|
328
291
|
signing_key:
|
329
|
-
specification_version:
|
292
|
+
specification_version: 4
|
330
293
|
summary: Color is a Ruby library to provide basic RGB, CMYK, HSL, and other colourspace
|
331
294
|
manipulation support to applications that require it
|
332
295
|
test_files:
|
metadata.gz.sig
CHANGED
Binary file
|
data/lib/color/rgb-colors.rb
DELETED
@@ -1,343 +0,0 @@
|
|
1
|
-
class Color::RGB
|
2
|
-
AliceBlue = Color::RGB.new(0xf0, 0xf8, 0xff)
|
3
|
-
AntiqueWhite = Color::RGB.new(0xfa, 0xeb, 0xd7)
|
4
|
-
Aqua = Color::RGB.new(0x00, 0xff, 0xff)
|
5
|
-
Aquamarine = Color::RGB.new(0x7f, 0xff, 0xd4)
|
6
|
-
Azure = Color::RGB.new(0xf0, 0xff, 0xff)
|
7
|
-
Beige = Color::RGB.new(0xf5, 0xf5, 0xdc)
|
8
|
-
Bisque = Color::RGB.new(0xff, 0xe4, 0xc4)
|
9
|
-
Black = Color::RGB.new(0, 0, 0)
|
10
|
-
BlanchedAlmond = Color::RGB.new(0xff, 0xeb, 0xcd)
|
11
|
-
Blue = Color::RGB.new(0x00, 0x00, 0xff)
|
12
|
-
BlueViolet = Color::RGB.new(0x8a, 0x2b, 0xe2)
|
13
|
-
Brown = Color::RGB.new(0xa5, 0x2a, 0x2a)
|
14
|
-
BurlyWood = Color::RGB.new(0xde, 0xb8, 0x87)
|
15
|
-
Burlywood = BurlyWood
|
16
|
-
CadetBlue = Color::RGB.new(0x5f, 0x9e, 0xa0)
|
17
|
-
Carnation = Color::RGB.new(0xff, 0x5e, 0xd0)
|
18
|
-
Cayenne = Color::RGB.new(0x8d, 0x00, 0x00)
|
19
|
-
Chartreuse = Color::RGB.new(0x7f, 0xff, 0x00)
|
20
|
-
Chocolate = Color::RGB.new(0xd2, 0x69, 0x1e)
|
21
|
-
Coral = Color::RGB.new(0xff, 0x7f, 0x50)
|
22
|
-
CornflowerBlue = Color::RGB.new(0x64, 0x95, 0xed)
|
23
|
-
Cornsilk = Color::RGB.new(0xff, 0xf8, 0xdc)
|
24
|
-
Crimson = Color::RGB.new(0xdc, 0x14, 0x3c)
|
25
|
-
Cyan = Color::RGB.new(0x00, 0xff, 0xff)
|
26
|
-
DarkBlue = Color::RGB.new(0x00, 0x00, 0x8b)
|
27
|
-
DarkCyan = Color::RGB.new(0x00, 0x8b, 0x8b)
|
28
|
-
DarkGoldenRod = Color::RGB.new(0xb8, 0x86, 0x0b)
|
29
|
-
DarkGoldenrod = DarkGoldenRod
|
30
|
-
DarkGray = Color::RGB.new(0xa9, 0xa9, 0xa9)
|
31
|
-
DarkGreen = Color::RGB.new(0x00, 0x64, 0x00)
|
32
|
-
DarkGrey = DarkGray
|
33
|
-
DarkKhaki = Color::RGB.new(0xbd, 0xb7, 0x6b)
|
34
|
-
DarkMagenta = Color::RGB.new(0x8b, 0x00, 0x8b)
|
35
|
-
DarkOliveGreen = Color::RGB.new(0x55, 0x6b, 0x2f)
|
36
|
-
DarkOrange = Color::RGB.new(0xff, 0x8c, 0x00)
|
37
|
-
DarkOrchid = Color::RGB.new(0x99, 0x32, 0xcc)
|
38
|
-
DarkRed = Color::RGB.new(0x8b, 0x00, 0x00)
|
39
|
-
DarkSalmon = Color::RGB.new(0xe9, 0x96, 0x7a)
|
40
|
-
DarkSeaGreen = Color::RGB.new(0x8f, 0xbc, 0x8f)
|
41
|
-
DarkSlateBlue = Color::RGB.new(0x48, 0x3d, 0x8b)
|
42
|
-
DarkSlateGray = Color::RGB.new(0x2f, 0x4f, 0x4f)
|
43
|
-
DarkSlateGrey = DarkSlateGray
|
44
|
-
DarkTurquoise = Color::RGB.new(0x00, 0xce, 0xd1)
|
45
|
-
DarkViolet = Color::RGB.new(0x94, 0x00, 0xd3)
|
46
|
-
DarkoliveGreen = DarkOliveGreen
|
47
|
-
Darkorange = Color::RGB.new(0xff, 0x8c, 0x00)
|
48
|
-
Darksalmon = DarkSalmon
|
49
|
-
DeepPink = Color::RGB.new(0xff, 0x14, 0x93)
|
50
|
-
DeepSkyBlue = Color::RGB.new(0x00, 0xbf, 0xbf)
|
51
|
-
DimGray = Color::RGB.new(0x69, 0x69, 0x69)
|
52
|
-
DimGrey = DimGray
|
53
|
-
DodgerBlue = Color::RGB.new(0x1e, 0x90, 0xff)
|
54
|
-
Feldspar = Color::RGB.new(0xd1, 0x92, 0x75)
|
55
|
-
FireBrick = Color::RGB.new(0xb2, 0x22, 0x22)
|
56
|
-
Firebrick = FireBrick
|
57
|
-
FloralWhite = Color::RGB.new(0xff, 0xfa, 0xf0)
|
58
|
-
ForestGreen = Color::RGB.new(0x22, 0x8b, 0x22)
|
59
|
-
Fuchsia = Color::RGB.new(0xff, 0x00, 0xff)
|
60
|
-
Gainsboro = Color::RGB.new(0xdc, 0xdc, 0xdc)
|
61
|
-
GhostWhite = Color::RGB.new(0xf8, 0xf8, 0xff)
|
62
|
-
Gold = Color::RGB.new(0xff, 0xd7, 0x00)
|
63
|
-
GoldenRod = Color::RGB.new(0xda, 0xa5, 0x20)
|
64
|
-
Goldenrod = GoldenRod
|
65
|
-
Gray = Color::RGB.new(0x80, 0x80, 0x80)
|
66
|
-
Gray10 = Color::RGB.from_percentage(10, 10, 10)
|
67
|
-
Gray20 = Color::RGB.from_percentage(20, 20, 20)
|
68
|
-
Gray30 = Color::RGB.from_percentage(30, 30, 30)
|
69
|
-
Gray40 = Color::RGB.from_percentage(40, 40, 40)
|
70
|
-
Gray50 = Color::RGB.from_percentage(50, 50, 50)
|
71
|
-
Gray60 = Color::RGB.from_percentage(60, 60, 60)
|
72
|
-
Gray70 = Color::RGB.from_percentage(70, 70, 70)
|
73
|
-
Gray80 = Color::RGB.from_percentage(80, 80, 80)
|
74
|
-
Gray90 = Color::RGB.from_percentage(90, 90, 90)
|
75
|
-
Green = Color::RGB.new(0x00, 0x80, 0x00)
|
76
|
-
GreenYellow = Color::RGB.new(0xad, 0xff, 0x2f)
|
77
|
-
Grey = Gray
|
78
|
-
Grey10 = Gray10
|
79
|
-
Grey20 = Gray20
|
80
|
-
Grey30 = Gray30
|
81
|
-
Grey40 = Gray40
|
82
|
-
Grey50 = Gray50
|
83
|
-
Grey60 = Gray60
|
84
|
-
Grey70 = Gray70
|
85
|
-
Grey80 = Gray80
|
86
|
-
Grey90 = Gray90
|
87
|
-
HoneyDew = Color::RGB.new(0xf0, 0xff, 0xf0)
|
88
|
-
Honeydew = HoneyDew
|
89
|
-
HotPink = Color::RGB.new(0xff, 0x69, 0xb4)
|
90
|
-
IndianRed = Color::RGB.new(0xcd, 0x5c, 0x5c)
|
91
|
-
Indigo = Color::RGB.new(0x4b, 0x00, 0x82)
|
92
|
-
Ivory = Color::RGB.new(0xff, 0xff, 0xf0)
|
93
|
-
Khaki = Color::RGB.new(0xf0, 0xe6, 0x8c)
|
94
|
-
Lavender = Color::RGB.new(0xe6, 0xe6, 0xfa)
|
95
|
-
LavenderBlush = Color::RGB.new(0xff, 0xf0, 0xf5)
|
96
|
-
LawnGreen = Color::RGB.new(0x7c, 0xfc, 0x00)
|
97
|
-
LemonChiffon = Color::RGB.new(0xff, 0xfa, 0xcd)
|
98
|
-
LightBlue = Color::RGB.new(0xad, 0xd8, 0xe6)
|
99
|
-
LightCoral = Color::RGB.new(0xf0, 0x80, 0x80)
|
100
|
-
LightCyan = Color::RGB.new(0xe0, 0xff, 0xff)
|
101
|
-
LightGoldenRodYellow = Color::RGB.new(0xfa, 0xfa, 0xd2)
|
102
|
-
LightGoldenrodYellow = LightGoldenRodYellow
|
103
|
-
LightGray = Color::RGB.new(0xd3, 0xd3, 0xd3)
|
104
|
-
LightGreen = Color::RGB.new(0x90, 0xee, 0x90)
|
105
|
-
LightGrey = LightGray
|
106
|
-
LightPink = Color::RGB.new(0xff, 0xb6, 0xc1)
|
107
|
-
LightSalmon = Color::RGB.new(0xff, 0xa0, 0x7a)
|
108
|
-
LightSeaGreen = Color::RGB.new(0x20, 0xb2, 0xaa)
|
109
|
-
LightSkyBlue = Color::RGB.new(0x87, 0xce, 0xfa)
|
110
|
-
LightSlateBlue = Color::RGB.new(0x84, 0x70, 0xff)
|
111
|
-
LightSlateGray = Color::RGB.new(0x77, 0x88, 0x99)
|
112
|
-
LightSlateGrey = LightSlateGray
|
113
|
-
LightSteelBlue = Color::RGB.new(0xb0, 0xc4, 0xde)
|
114
|
-
LightYellow = Color::RGB.new(0xff, 0xff, 0xe0)
|
115
|
-
Lightsalmon = LightSalmon
|
116
|
-
LightsteelBlue = LightSteelBlue
|
117
|
-
Lime = Color::RGB.new(0x00, 0xff, 0x00)
|
118
|
-
LimeGreen = Color::RGB.new(0x32, 0xcd, 0x32)
|
119
|
-
Linen = Color::RGB.new(0xfa, 0xf0, 0xe6)
|
120
|
-
Magenta = Color::RGB.new(0xff, 0x00, 0xff)
|
121
|
-
Maroon = Color::RGB.new(0x80, 0x00, 0x00)
|
122
|
-
MediumAquaMarine = Color::RGB.new(0x66, 0xcd, 0xaa)
|
123
|
-
MediumAquamarine = MediumAquaMarine
|
124
|
-
MediumBlue = Color::RGB.new(0x00, 0x00, 0xcd)
|
125
|
-
MediumOrchid = Color::RGB.new(0xba, 0x55, 0xd3)
|
126
|
-
MediumPurple = Color::RGB.new(0x93, 0x70, 0xdb)
|
127
|
-
MediumSeaGreen = Color::RGB.new(0x3c, 0xb3, 0x71)
|
128
|
-
MediumSlateBlue = Color::RGB.new(0x7b, 0x68, 0xee)
|
129
|
-
MediumSpringGreen = Color::RGB.new(0x00, 0xfa, 0x9a)
|
130
|
-
MediumTurquoise = Color::RGB.new(0x48, 0xd1, 0xcc)
|
131
|
-
MediumVioletRed = Color::RGB.new(0xc7, 0x15, 0x85)
|
132
|
-
MidnightBlue = Color::RGB.new(0x19, 0x19, 0x70)
|
133
|
-
MintCream = Color::RGB.new(0xf5, 0xff, 0xfa)
|
134
|
-
MistyRose = Color::RGB.new(0xff, 0xe4, 0xe1)
|
135
|
-
Moccasin = Color::RGB.new(0xff, 0xe4, 0xb5)
|
136
|
-
NavajoWhite = Color::RGB.new(0xff, 0xde, 0xad)
|
137
|
-
Navy = Color::RGB.new(0x00, 0x00, 0x80)
|
138
|
-
OldLace = Color::RGB.new(0xfd, 0xf5, 0xe6)
|
139
|
-
Olive = Color::RGB.new(0x80, 0x80, 0x00)
|
140
|
-
OliveDrab = Color::RGB.new(0x6b, 0x8e, 0x23)
|
141
|
-
Olivedrab = OliveDrab
|
142
|
-
Orange = Color::RGB.new(0xff, 0xa5, 0x00)
|
143
|
-
OrangeRed = Color::RGB.new(0xff, 0x45, 0x00)
|
144
|
-
Orchid = Color::RGB.new(0xda, 0x70, 0xd6)
|
145
|
-
PaleGoldenRod = Color::RGB.new(0xee, 0xe8, 0xaa)
|
146
|
-
PaleGoldenrod = PaleGoldenRod
|
147
|
-
PaleGreen = Color::RGB.new(0x98, 0xfb, 0x98)
|
148
|
-
PaleTurquoise = Color::RGB.new(0xaf, 0xee, 0xee)
|
149
|
-
PaleVioletRed = Color::RGB.new(0xdb, 0x70, 0x93)
|
150
|
-
PapayaWhip = Color::RGB.new(0xff, 0xef, 0xd5)
|
151
|
-
PeachPuff = Color::RGB.new(0xff, 0xda, 0xb9)
|
152
|
-
Peachpuff = PeachPuff
|
153
|
-
Peru = Color::RGB.new(0xcd, 0x85, 0x3f)
|
154
|
-
Pink = Color::RGB.new(0xff, 0xc0, 0xcb)
|
155
|
-
Plum = Color::RGB.new(0xdd, 0xa0, 0xdd)
|
156
|
-
PowderBlue = Color::RGB.new(0xb0, 0xe0, 0xe6)
|
157
|
-
Purple = Color::RGB.new(0x80, 0x00, 0x80)
|
158
|
-
Red = Color::RGB.new(0xff, 0x00, 0x00)
|
159
|
-
RosyBrown = Color::RGB.new(0xbc, 0x8f, 0x8f)
|
160
|
-
RoyalBlue = Color::RGB.new(0x41, 0x69, 0xe1)
|
161
|
-
SaddleBrown = Color::RGB.new(0x8b, 0x45, 0x13)
|
162
|
-
Salmon = Color::RGB.new(0xfa, 0x80, 0x72)
|
163
|
-
SandyBrown = Color::RGB.new(0xf4, 0xa4, 0x60)
|
164
|
-
SeaGreen = Color::RGB.new(0x2e, 0x8b, 0x57)
|
165
|
-
SeaShell = Color::RGB.new(0xff, 0xf5, 0xee)
|
166
|
-
Seashell = SeaShell
|
167
|
-
Sienna = Color::RGB.new(0xa0, 0x52, 0x2d)
|
168
|
-
Silver = Color::RGB.new(0xc0, 0xc0, 0xc0)
|
169
|
-
SkyBlue = Color::RGB.new(0x87, 0xce, 0xeb)
|
170
|
-
SlateBlue = Color::RGB.new(0x6a, 0x5a, 0xcd)
|
171
|
-
SlateGray = Color::RGB.new(0x70, 0x80, 0x90)
|
172
|
-
SlateGrey = SlateGray
|
173
|
-
Snow = Color::RGB.new(0xff, 0xfa, 0xfa)
|
174
|
-
SpringGreen = Color::RGB.new(0x00, 0xff, 0x7f)
|
175
|
-
SteelBlue = Color::RGB.new(0x46, 0x82, 0xb4)
|
176
|
-
Tan = Color::RGB.new(0xd2, 0xb4, 0x8c)
|
177
|
-
Teal = Color::RGB.new(0x00, 0x80, 0x80)
|
178
|
-
Thistle = Color::RGB.new(0xd8, 0xbf, 0xd8)
|
179
|
-
Tomato = Color::RGB.new(0xff, 0x63, 0x47)
|
180
|
-
Turquoise = Color::RGB.new(0x40, 0xe0, 0xd0)
|
181
|
-
Violet = Color::RGB.new(0xee, 0x82, 0xee)
|
182
|
-
VioletRed = Color::RGB.new(0xd0, 0x20, 0x90)
|
183
|
-
Wheat = Color::RGB.new(0xf5, 0xde, 0xb3)
|
184
|
-
White = Color::RGB.new(0xff, 0xff, 0xff)
|
185
|
-
WhiteSmoke = Color::RGB.new(0xf5, 0xf5, 0xf5)
|
186
|
-
Yellow = Color::RGB.new(0xff, 0xff, 0x00)
|
187
|
-
YellowGreen = Color::RGB.new(0x9a, 0xcd, 0x32)
|
188
|
-
|
189
|
-
AliceBlue.freeze
|
190
|
-
AntiqueWhite.freeze
|
191
|
-
Aqua.freeze
|
192
|
-
Aquamarine.freeze
|
193
|
-
Azure.freeze
|
194
|
-
Beige.freeze
|
195
|
-
Bisque.freeze
|
196
|
-
Black.freeze
|
197
|
-
BlanchedAlmond.freeze
|
198
|
-
Blue.freeze
|
199
|
-
BlueViolet.freeze
|
200
|
-
Brown.freeze
|
201
|
-
Burlywood.freeze
|
202
|
-
CadetBlue.freeze
|
203
|
-
Cayenne.freeze
|
204
|
-
Carnation.freeze
|
205
|
-
Chartreuse.freeze
|
206
|
-
Chocolate.freeze
|
207
|
-
Coral.freeze
|
208
|
-
CornflowerBlue.freeze
|
209
|
-
Cornsilk.freeze
|
210
|
-
Crimson.freeze
|
211
|
-
Cyan.freeze
|
212
|
-
DarkBlue.freeze
|
213
|
-
DarkCyan.freeze
|
214
|
-
DarkGoldenrod.freeze
|
215
|
-
DarkGray.freeze
|
216
|
-
DarkGreen.freeze
|
217
|
-
DarkKhaki.freeze
|
218
|
-
DarkMagenta.freeze
|
219
|
-
DarkoliveGreen.freeze
|
220
|
-
Darkorange.freeze
|
221
|
-
DarkOrchid.freeze
|
222
|
-
DarkRed.freeze
|
223
|
-
Darksalmon.freeze
|
224
|
-
DarkSeaGreen.freeze
|
225
|
-
DarkSlateBlue.freeze
|
226
|
-
DarkSlateGray.freeze
|
227
|
-
DarkTurquoise.freeze
|
228
|
-
DarkViolet.freeze
|
229
|
-
DeepPink.freeze
|
230
|
-
DeepSkyBlue.freeze
|
231
|
-
DimGray.freeze
|
232
|
-
DodgerBlue.freeze
|
233
|
-
Feldspar.freeze
|
234
|
-
Firebrick.freeze
|
235
|
-
FloralWhite.freeze
|
236
|
-
ForestGreen.freeze
|
237
|
-
Fuchsia.freeze
|
238
|
-
Gainsboro.freeze
|
239
|
-
GhostWhite.freeze
|
240
|
-
Gold.freeze
|
241
|
-
Goldenrod.freeze
|
242
|
-
Gray.freeze
|
243
|
-
Green.freeze
|
244
|
-
GreenYellow.freeze
|
245
|
-
Honeydew.freeze
|
246
|
-
HotPink.freeze
|
247
|
-
IndianRed.freeze
|
248
|
-
Indigo.freeze
|
249
|
-
Ivory.freeze
|
250
|
-
Khaki.freeze
|
251
|
-
Lavender.freeze
|
252
|
-
LavenderBlush.freeze
|
253
|
-
LawnGreen.freeze
|
254
|
-
LemonChiffon.freeze
|
255
|
-
LightBlue.freeze
|
256
|
-
LightCoral.freeze
|
257
|
-
LightCyan.freeze
|
258
|
-
LightGoldenrodYellow.freeze
|
259
|
-
LightGray.freeze
|
260
|
-
LightGreen.freeze
|
261
|
-
LightPink.freeze
|
262
|
-
Lightsalmon.freeze
|
263
|
-
LightSeaGreen.freeze
|
264
|
-
LightSkyBlue.freeze
|
265
|
-
LightSlateBlue.freeze
|
266
|
-
LightSlateGray.freeze
|
267
|
-
LightsteelBlue.freeze
|
268
|
-
LightYellow.freeze
|
269
|
-
Lime.freeze
|
270
|
-
LimeGreen.freeze
|
271
|
-
Linen.freeze
|
272
|
-
Magenta.freeze
|
273
|
-
Maroon.freeze
|
274
|
-
MediumAquamarine.freeze
|
275
|
-
MediumBlue.freeze
|
276
|
-
MediumOrchid.freeze
|
277
|
-
MediumPurple.freeze
|
278
|
-
MediumSeaGreen.freeze
|
279
|
-
MediumSlateBlue.freeze
|
280
|
-
MediumSpringGreen.freeze
|
281
|
-
MediumTurquoise.freeze
|
282
|
-
MediumVioletRed.freeze
|
283
|
-
MidnightBlue.freeze
|
284
|
-
MintCream.freeze
|
285
|
-
MistyRose.freeze
|
286
|
-
Moccasin.freeze
|
287
|
-
NavajoWhite.freeze
|
288
|
-
Navy.freeze
|
289
|
-
OldLace.freeze
|
290
|
-
Olive.freeze
|
291
|
-
Olivedrab.freeze
|
292
|
-
Orange.freeze
|
293
|
-
OrangeRed.freeze
|
294
|
-
Orchid.freeze
|
295
|
-
PaleGoldenrod.freeze
|
296
|
-
PaleGreen.freeze
|
297
|
-
PaleTurquoise.freeze
|
298
|
-
PaleVioletRed.freeze
|
299
|
-
PapayaWhip.freeze
|
300
|
-
Peachpuff.freeze
|
301
|
-
Peru.freeze
|
302
|
-
Pink.freeze
|
303
|
-
Plum.freeze
|
304
|
-
PowderBlue.freeze
|
305
|
-
Purple.freeze
|
306
|
-
Red.freeze
|
307
|
-
RosyBrown.freeze
|
308
|
-
RoyalBlue.freeze
|
309
|
-
SaddleBrown.freeze
|
310
|
-
Salmon.freeze
|
311
|
-
SandyBrown.freeze
|
312
|
-
SeaGreen.freeze
|
313
|
-
Seashell.freeze
|
314
|
-
Sienna.freeze
|
315
|
-
Silver.freeze
|
316
|
-
SkyBlue.freeze
|
317
|
-
SlateBlue.freeze
|
318
|
-
SlateGray.freeze
|
319
|
-
Snow.freeze
|
320
|
-
SpringGreen.freeze
|
321
|
-
SteelBlue.freeze
|
322
|
-
Tan.freeze
|
323
|
-
Teal.freeze
|
324
|
-
Thistle.freeze
|
325
|
-
Tomato.freeze
|
326
|
-
Turquoise.freeze
|
327
|
-
Violet.freeze
|
328
|
-
VioletRed.freeze
|
329
|
-
Wheat.freeze
|
330
|
-
White.freeze
|
331
|
-
WhiteSmoke.freeze
|
332
|
-
Yellow.freeze
|
333
|
-
YellowGreen.freeze
|
334
|
-
Gray10.freeze
|
335
|
-
Gray20.freeze
|
336
|
-
Gray30.freeze
|
337
|
-
Gray40.freeze
|
338
|
-
Gray50.freeze
|
339
|
-
Gray60.freeze
|
340
|
-
Gray70.freeze
|
341
|
-
Gray80.freeze
|
342
|
-
Gray90.freeze
|
343
|
-
end
|