Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

280
LINES

< > BotCompany Repo | #1027252 // webColorNamePairs

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2503L/18K).

1  
static simplyCached LPairS webColorNamePairs() {
2  
  ret map(tlft([[
3  
Alice blue #F0F8FF
4  
Antique white #FAEBD7
5  
Aqua #00FFFF
6  
Aquamarine #7FFFD4
7  
Azure #F0FFFF
8  
Beige #F5F5DC
9  
Bisque #FFE4C4
10  
Black #000000
11  
Blanched almond #FFEBCD
12  
Blue #0000FF
13  
Blue violet #8A2BE2
14  
Brown #A52A2A
15  
Burlywood #DEB887
16  
Cadet blue #5F9EA0
17  
Chartreuse #7FFF00
18  
Chocolate #D2691E
19  
Coral #FF7F50
20  
Cornflower blue #6495ED
21  
Cornsilk #FFF8DC
22  
Crimson #DC143C
23  
Cyan #00FFFF
24  
Dark blue #00008B
25  
Dark cyan #008B8B
26  
Dark goldenrod #B8860B
27  
Dark gray #A9A9A9
28  
Dark green #006400
29  
Dark khaki #BDB76B
30  
Dark magenta #8B008B
31  
Dark olive green #556B2F
32  
Dark orange #FF8C00
33  
Dark orchid #9932CC
34  
Dark red #8B0000
35  
Dark salmon #E9967A
36  
Dark seagreen #8DBC8F
37  
Dark slate blue #483D8B
38  
Dark slate gray #2F4F4F
39  
Dark turquoise #00DED1
40  
Dark violet #9400D3
41  
Deep pink #FF1493
42  
Deep sky blue #00BFFF
43  
Dim gray #696969
44  
Dodger blue #1E90FF
45  
Firebrick #B22222
46  
Floral white #FFFAF0
47  
Forest green #228B22
48  
Fuchsia #FF00FF
49  
Gainsboro #DCDCDC
50  
Ghost white #F8F8FF
51  
Gold #FFD700
52  
Goldenrod #DAA520
53  
Gray #808080
54  
Green #008000
55  
Green yellow #ADFF2F
56  
Honeydew #F0FFF0
57  
Hot pink #FF69B4
58  
Indian red #CD5C5C
59  
Indigo #4B0082
60  
Ivory #FFFFF0
61  
Khaki #F0E68C
62  
Lavender #E6E6FA
63  
Lavender blush #FFF0F5
64  
Lawn green #7CFC00
65  
Lemon chiffon #FFFACD
66  
Light blue #ADD8E6
67  
Light coral #F08080
68  
Light cyan #E0FFFF
69  
Light goldenrod yellow #FAFAD2
70  
Light green #90EE90
71  
Light grey #D3D3D3
72  
Light pink #FFB6C1
73  
Light salmon #FFA07A
74  
Light sea green #20B2AA
75  
Light sky blue #87CEFA
76  
Light slate gray #778899
77  
Light steel blue #B0C4DE
78  
Light yellow #FFFFE0
79  
Lime #00FF00
80  
Lime green #32CD32
81  
Linen #FAF0E6
82  
Magenta #FF00FF
83  
Maroon #800000
84  
Medium aquamarine #66CDAA
85  
Medium blue #0000CD
86  
Medium orchid #BA55D3
87  
Medium purple #9370DB
88  
Medium sea green #3CB371
89  
Medium slate blue #7B68EE
90  
Medium spring green #00FA9A
91  
Medium turquoise #48D1CC
92  
Medium violet red #C71585
93  
Midnight blue #191970
94  
Mint cream #F5FFFA
95  
Misty rose #FFE4E1
96  
Moccasin #FFE4B5
97  
Navajo white #FFDEAD
98  
Navy #000080
99  
Old lace #FDF5E6
100  
Olive drab #6B8E23
101  
Orange #FFA500
102  
Orange red #FF4500
103  
Orchid #DA70D6
104  
Pale goldenrod #EEE8AA
105  
Pale green #98FB98
106  
Pale turquoise #AFEEEE
107  
Pale violet red #DB7093
108  
Papaya whip #FFEFD5
109  
Peach puff #FFDAB9
110  
Peru #CD853F
111  
Pink #FFC8CB
112  
Plum #DDA0DD
113  
Powder blue #B0E0E6
114  
Purple #800080
115  
Red #FF0000
116  
Rosy brown #BC8F8F
117  
Royal blue #4169E1
118  
Saddle brown #8B4513
119  
Salmon #FA8072
120  
Sandy brown #F4A460
121  
Seagreen #2E8B57
122  
Sea shell #FFF5EE
123  
Sienna #A0522D
124  
Silver #C0C0C0
125  
Sky blue #87CEEB
126  
Slate blue #6A5ACD
127  
Snow #FFFAFA
128  
Spring green #00FF7F
129  
Steel blue #4682B4
130  
Tan #D2B48C
131  
Thistle #D8BFD8
132  
Teal #008080
133  
Tomato #FF6347
134  
Turquoise #40E0D0
135  
Violet #EE82EE
136  
Wheat #F5DEB3
137  
White #FFFFFF
138  
Whitesmoke #F5F5F5
139  
Yellow #FFFF00
140  
Yellow green #9ACD32
141  
Black #000000
142  
Navy #000080
143  
Dark blue #00008B
144  
Medium blue #0000CD
145  
Blue #0000FF
146  
Dark green #006400
147  
Green #008000
148  
Teal #008080
149  
Dark cyan #008B8B
150  
Deep sky blue #00BFFF
151  
Dark turquoise #00DED1
152  
Medium spring green #00FA9A
153  
Lime #00FF00
154  
Spring green #00FF7F
155  
Aqua #00FFFF
156  
Cyan #00FFFF
157  
Midnight blue #191970
158  
Dodger blue #1E90FF
159  
Light sea green #20B2AA
160  
Forest green #228B22
161  
Seagreen #2E8B57
162  
Dark slate gray #2F4F4F
163  
Lime green #32CD32
164  
Medium sea green #3CB371
165  
Turquoise #40E0D0
166  
Royal blue #4169E1
167  
Steel blue #4682B4
168  
Dark slate blue #483D8B
169  
Medium turquoise #48D1CC
170  
Indigo #4B0082
171  
Dark olive green #556B2F
172  
Cadet blue #5F9EA0
173  
Cornflower blue #6495ED
174  
Medium aquamarine #66CDAA
175  
Dim gray #696969
176  
Slate blue #6A5ACD
177  
Olive drab #6B8E23
178  
Light slate gray #778899
179  
Medium slate blue #7B68EE
180  
Lawn green #7CFC00
181  
Chartreuse #7FFF00
182  
Aquamarine #7FFFD4
183  
Maroon #800000
184  
Purple #800080
185  
Gray #808080
186  
Sky blue #87CEEB
187  
Light sky blue #87CEFA
188  
Blue violet #8A2BE2
189  
Dark red #8B0000
190  
Dark magenta #8B008B
191  
Saddle brown #8B4513
192  
Dark seagreen #8DBC8F
193  
Light green #90EE90
194  
Medium purple #9370DB
195  
Dark violet #9400D3
196  
Pale green #98FB98
197  
Dark orchid #9932CC
198  
Yellow green #9ACD32
199  
Sienna #A0522D
200  
Brown #A52A2A
201  
Dark gray #A9A9A9
202  
Light blue #ADD8E6
203  
Green yellow #ADFF2F
204  
Pale turquoise #AFEEEE
205  
Light steel blue #B0C4DE
206  
Powder blue #B0E0E6
207  
Firebrick #B22222
208  
Dark goldenrod #B8860B
209  
Medium orchid #BA55D3
210  
Rosy brown #BC8F8F
211  
Dark khaki #BDB76B
212  
Silver #C0C0C0
213  
Medium violet red #C71585
214  
Indian red #CD5C5C
215  
Peru #CD853F
216  
Chocolate #D2691E
217  
Tan #D2B48C
218  
Light grey #D3D3D3
219  
Thistle #D8BFD8
220  
Orchid #DA70D6
221  
Goldenrod #DAA520
222  
Pale violet red #DB7093
223  
Crimson #DC143C
224  
Gainsboro #DCDCDC
225  
Plum #DDA0DD
226  
Burlywood #DEB887
227  
Light cyan #E0FFFF
228  
Lavender #E6E6FA
229  
Dark salmon #E9967A
230  
Violet #EE82EE
231  
Pale goldenrod #EEE8AA
232  
Light coral #F08080
233  
Khaki #F0E68C
234  
Alice blue #F0F8FF
235  
Honeydew #F0FFF0
236  
Azure #F0FFFF
237  
Sandy brown #F4A460
238  
Wheat #F5DEB3
239  
Beige #F5F5DC
240  
Whitesmoke #F5F5F5
241  
Mint cream #F5FFFA
242  
Ghost white #F8F8FF
243  
Salmon #FA8072
244  
Antique white #FAEBD7
245  
Linen #FAF0E6
246  
Light goldenrod yellow #FAFAD2
247  
Old lace #FDF5E6
248  
Red #FF0000
249  
Fuchsia #FF00FF
250  
Magenta #FF00FF
251  
Deep pink #FF1493
252  
Orange red #FF4500
253  
Tomato #FF6347
254  
Hot pink #FF69B4
255  
Coral #FF7F50
256  
Dark orange #FF8C00
257  
Light salmon #FFA07A
258  
Orange #FFA500
259  
Light pink #FFB6C1
260  
Pink #FFC8CB
261  
Gold #FFD700
262  
Peach puff #FFDAB9
263  
Navajo white #FFDEAD
264  
Moccasin #FFE4B5
265  
Bisque #FFE4C4
266  
Misty rose #FFE4E1
267  
Blanched almond #FFEBCD
268  
Papaya whip #FFEFD5
269  
Lavender blush #FFF0F5
270  
Sea shell #FFF5EE
271  
Cornsilk #FFF8DC
272  
Lemon chiffon #FFFACD
273  
Floral white #FFFAF0
274  
Snow #FFFAFA
275  
Yellow #FFFF00
276  
Light yellow #FFFFE0
277  
Ivory #FFFFF0
278  
White #FFFFFF
279  
]]), l -> { int i = indexOf(l, "#"); ret pair(trim(takeFirst(l, i)), substring(l, i+1)); });
280  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027252
Snippet name: webColorNamePairs
Eternal ID of this version: #1027252/2
Text MD5: 856d5985e9b9edcabd17d5aca7c10c92
Transpilation MD5: 30128ceee9eb7579f6158b0695a84b48
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-26 20:39:47
Source code size: 5580 bytes / 280 lines
Pitched / IR pitched: No / No
Views / Downloads: 170 / 245
Version history: 1 change(s)
Referenced in: [show references]