-
Notifications
You must be signed in to change notification settings - Fork 0
/
palettes.ts
276 lines (263 loc) · 5.02 KB
/
palettes.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
namespace color {
/**
* The original palette buffer for the project
*
* This **must** be defined first in this file because others palettes
* may be defined relative to this palette
*/
//% fixedInstance whenUsed block="original"
export const originalPalette = bufferToPalette(hex`__palette`);
//% fixedInstance whenUsed block="adafruit"
export const Adafruit = bufferToPalette(hex`
000000
17ABFF
DF2929
C600FF
FF007D
00FF72
e5FF00
0034FF
FFFFFF
00EFFF
FF0000
7400DB
636363
FF7a00
2D9F00
000000
`);
//% fixedInstance whenUsed block="matte"
export const Matte = bufferToPalette(hex`
000000
1D2B53
7E2553
008751
AB5236
5F574F
C2C3C7
FFF1E8
FF004D
FFA300
FFEC27
00E436
29ADFF
83769C
FF77A8
FFCCAA
`);
//% fixedInstance whenUsed block="gray scale"
export const GrayScale = bufferToPalette(hex`
000000
FFFFFF
EDEDED
DBDBDB
C8C8C8
B6B6B6
A4A4A4
929292
808080
6D6D6D
5B5B5B
494949
373737
242424
121212
000000
`);
// https://lospec.com/palette-list/poke14
//% fixedInstance whenUsed block="poke"
export const Poke = bufferToPalette(hex`
000000
ffffff
e8958b
d45362
612431
f5dc8c
cc8945
8f3f29
c0fac2
5dd48f
417d53
6cadeb
5162c2
24325e
1b1221
000000
`);
// https://lospec.com/palette-list/warioware-diy
//% fixedInstance whenUsed block="DIY"
export const DIY = bufferToPalette(hex`
000000
ffffff
f8d898
f8a830
c04800
f80000
c868e8
10c0c8
2868c0
089050
70d038
f8f858
787878
c0c0c0
f8f8f8
000000
`);
// https://lospec.com/palette-list/still-life
//% fixedInstance whenUsed block="still life"
export const StillLife = bufferToPalette(hex`
000000
3f2811
7a2222
d13b27
e07f8a
5d853a
68c127
b3e868
122615
513155
286fb8
9b8bff
a8e4d4
cc8218
c7b581
000000
`);
// https://lospec.com/palette-list/steam-lords, missing 0xa0b9ba
//% fixedInstance whenUsed block="steam punk"
export const SteamPunk = bufferToPalette(hex`
000000
213b25
3a604a
4f7754
a19f7c
77744f
775c4f
603b3a
3b2137
170e19
2f213b
433a60
4f5277
65738c
7c94a1
c0d1cc
`)
// https://lospec.com/palette-list/sweetie-16, missing 0x73eff7
//% fixedInstance whenUsed block="sweet"
export const Sweet = bufferToPalette(hex`
000000
1a1c2c
5d275d
b13e53
ef7d57
ffcd75
a7f070
38b764
257179
29366f
3b5dc9
41a6f6
f4f4f4
94b0c2
566c86
333c57
`);
// https://lospec.com/palette-list/na16, missing 0x70377f
//% fixedInstance whenUsed block="adventure"
export const Adventure = bufferToPalette(hex`
000000
8c8fae
584563
3e2137
9a6348
d79b7d
f5edba
c0c741
647d34
e4943a
9d303b
d26471
7ec4c1
34859d
17434b
1f0e1c
`);
//% fixedInstance whenUsed block="arcade"
export const Arcade = bufferToPalette(hex`
000000
FFFFFF
FF2121
FF93C4
FF8135
FFF609
249CA3
78DC52
003FAD
87F2FF
8E2EC4
A4839F
5C406c
E5CDC4
91463d
000000
`);
//% fixedInstance whenUsed block="black"
export const Black = bufferToPalette(hex`
000000
000000
000000
000000
000000
000000
000000
000000
000000
000000
000000
000000
000000
000000
000000
000000
`);
//% fixedInstance whenUsed block="white"
export const White = bufferToPalette(hex`
FFFFFF
FFFFFF
FFFFFF
FFFFFF
FFFFFF
FFFFFF
FFFFFF
FFFFFF
FFFFFF
FFFFFF
FFFFFF
FFFFFF
FFFFFF
FFFFFF
FFFFFF
FFFFFF
`);
//% fixedInstance whenUsed block="red"
export const RedScale = bufferToPalette(hex`
000000
FF0000
ED0000
DB0000
C80000
B60000
A40000
920000
800000
6D0000
5B0000
490000
370000
240000
120000
000000
`);
}