Default Palette
Commander X16 uses 256 color palette, each of the component colors (R, G and B) gets 4 bits therefore we can choose from total of 16*16*16 = 4096 combinations. At startup we get pretty good collection of default colors.
First 16 colors are similar to Commodore 64 colors, the next 16 are all possible clean gray colors followed by spread of other colors of different hues and intensities. Below are the table of defaults.
I exported these colors directly from Commander X16 emulator using a simple Basic program that can be downloaded below.
I also included links to two versions of bitmaps that can be used to import into paint programs or sprite design tools.
Please note that Color 0 in 256 color mode is actually replaced by transparent "color" and black indexed 16 can be used instead.
16x16
First 16 colors are similar to Commodore 64 colors, the next 16 are all possible clean gray colors followed by spread of other colors of different hues and intensities. Below are the table of defaults.
I exported these colors directly from Commander X16 emulator using a simple Basic program that can be downloaded below.
I also included links to two versions of bitmaps that can be used to import into paint programs or sprite design tools.
Please note that Color 0 in 256 color mode is actually replaced by transparent "color" and black indexed 16 can be used instead.
Index | R | G | B |
0 | 0 | 0 | 0 |
1 | 15 | 15 | 15 |
2 | 8 | 0 | 0 |
3 | 10 | 15 | 14 |
4 | 12 | 4 | 12 |
5 | 0 | 12 | 5 |
6 | 0 | 0 | 10 |
7 | 14 | 14 | 7 |
8 | 13 | 8 | 5 |
9 | 6 | 4 | 0 |
10 | 15 | 7 | 7 |
11 | 3 | 3 | 3 |
12 | 7 | 7 | 7 |
13 | 10 | 15 | 6 |
14 | 0 | 8 | 15 |
15 | 11 | 11 | 11 |
16 | 0 | 0 | 0 |
17 | 1 | 1 | 1 |
18 | 2 | 2 | 2 |
19 | 3 | 3 | 3 |
20 | 4 | 4 | 4 |
21 | 5 | 5 | 5 |
22 | 6 | 6 | 6 |
23 | 7 | 7 | 7 |
24 | 8 | 8 | 8 |
25 | 9 | 9 | 9 |
26 | 10 | 10 | 10 |
27 | 11 | 11 | 11 |
28 | 12 | 12 | 12 |
29 | 13 | 13 | 13 |
30 | 14 | 14 | 14 |
31 | 15 | 15 | 15 |
32 | 2 | 1 | 1 |
33 | 4 | 3 | 3 |
34 | 6 | 4 | 4 |
35 | 8 | 6 | 6 |
36 | 10 | 8 | 8 |
37 | 12 | 9 | 9 |
38 | 15 | 11 | 11 |
39 | 2 | 1 | 1 |
40 | 4 | 2 | 2 |
41 | 6 | 3 | 3 |
42 | 8 | 4 | 4 |
43 | 10 | 5 | 5 |
44 | 12 | 6 | 6 |
45 | 15 | 7 | 7 |
46 | 2 | 0 | 0 |
47 | 4 | 1 | 1 |
48 | 6 | 1 | 1 |
49 | 8 | 2 | 2 |
50 | 10 | 2 | 2 |
51 | 12 | 3 | 3 |
52 | 15 | 3 | 3 |
53 | 2 | 0 | 0 |
54 | 4 | 0 | 0 |
55 | 6 | 0 | 0 |
56 | 8 | 0 | 0 |
57 | 10 | 0 | 0 |
58 | 12 | 0 | 0 |
59 | 15 | 0 | 0 |
60 | 2 | 2 | 1 |
61 | 4 | 4 | 3 |
62 | 6 | 6 | 4 |
63 | 8 | 8 | 6 |
64 | 10 | 10 | 8 |
65 | 12 | 12 | 9 |
66 | 15 | 14 | 11 |
67 | 2 | 1 | 1 |
68 | 4 | 3 | 2 |
69 | 6 | 5 | 3 |
70 | 8 | 7 | 4 |
71 | 10 | 9 | 5 |
72 | 12 | 11 | 6 |
73 | 15 | 13 | 7 |
74 | 2 | 1 | 0 |
75 | 4 | 3 | 1 |
76 | 6 | 5 | 1 |
77 | 8 | 6 | 2 |
78 | 10 | 8 | 2 |
79 | 12 | 10 | 3 |
80 | 15 | 12 | 3 |
81 | 2 | 1 | 0 |
82 | 4 | 3 | 0 |
83 | 6 | 4 | 0 |
84 | 8 | 6 | 0 |
85 | 10 | 8 | 0 |
86 | 12 | 9 | 0 |
87 | 15 | 11 | 0 |
88 | 1 | 2 | 1 |
89 | 3 | 4 | 3 |
90 | 5 | 6 | 4 |
91 | 7 | 8 | 6 |
92 | 9 | 10 | 8 |
93 | 11 | 12 | 9 |
94 | 13 | 15 | 11 |
95 | 1 | 2 | 1 |
96 | 3 | 4 | 2 |
97 | 4 | 6 | 3 |
98 | 6 | 8 | 4 |
99 | 8 | 10 | 5 |
100 | 9 | 12 | 6 |
101 | 11 | 15 | 7 |
102 | 1 | 2 | 0 |
103 | 2 | 4 | 1 |
104 | 4 | 6 | 1 |
105 | 5 | 8 | 2 |
106 | 6 | 10 | 2 |
107 | 8 | 12 | 3 |
108 | 9 | 15 | 3 |
109 | 1 | 2 | 0 |
110 | 2 | 4 | 0 |
111 | 3 | 6 | 0 |
112 | 4 | 8 | 0 |
113 | 5 | 10 | 0 |
114 | 6 | 12 | 0 |
115 | 7 | 15 | 0 |
116 | 1 | 2 | 1 |
117 | 3 | 4 | 3 |
118 | 4 | 6 | 5 |
119 | 6 | 8 | 6 |
120 | 8 | 10 | 8 |
121 | 9 | 12 | 10 |
122 | 11 | 15 | 12 |
123 | 1 | 2 | 1 |
124 | 2 | 4 | 2 |
125 | 3 | 6 | 4 |
126 | 4 | 8 | 5 |
127 | 5 | 10 | 6 |
128 | 6 | 12 | 8 |
129 | 7 | 15 | 9 |
130 | 0 | 2 | 0 |
131 | 1 | 4 | 1 |
132 | 1 | 6 | 2 |
133 | 2 | 8 | 3 |
134 | 2 | 10 | 4 |
135 | 3 | 12 | 5 |
136 | 3 | 15 | 6 |
137 | 0 | 2 | 0 |
138 | 0 | 4 | 1 |
139 | 0 | 6 | 1 |
140 | 0 | 8 | 2 |
141 | 0 | 10 | 2 |
142 | 0 | 12 | 3 |
143 | 0 | 15 | 3 |
144 | 1 | 2 | 2 |
145 | 3 | 4 | 4 |
146 | 4 | 6 | 6 |
147 | 6 | 8 | 8 |
148 | 8 | 10 | 10 |
149 | 9 | 12 | 12 |
150 | 11 | 15 | 15 |
151 | 1 | 2 | 2 |
152 | 2 | 4 | 4 |
153 | 3 | 6 | 6 |
154 | 4 | 8 | 8 |
155 | 5 | 10 | 10 |
156 | 6 | 12 | 12 |
157 | 7 | 15 | 15 |
158 | 0 | 2 | 2 |
159 | 1 | 4 | 4 |
160 | 1 | 6 | 6 |
161 | 2 | 8 | 8 |
162 | 2 | 10 | 10 |
163 | 3 | 12 | 12 |
164 | 3 | 15 | 15 |
165 | 0 | 2 | 2 |
166 | 0 | 4 | 4 |
167 | 0 | 6 | 6 |
168 | 0 | 8 | 8 |
169 | 0 | 10 | 10 |
170 | 0 | 12 | 12 |
171 | 0 | 15 | 15 |
172 | 1 | 1 | 2 |
173 | 3 | 3 | 4 |
174 | 4 | 5 | 6 |
175 | 6 | 6 | 8 |
176 | 8 | 8 | 10 |
177 | 9 | 10 | 12 |
178 | 11 | 12 | 15 |
179 | 1 | 1 | 2 |
180 | 2 | 2 | 4 |
181 | 3 | 4 | 6 |
182 | 4 | 5 | 8 |
183 | 5 | 6 | 10 |
184 | 6 | 8 | 12 |
185 | 7 | 9 | 15 |
186 | 0 | 0 | 2 |
187 | 1 | 1 | 4 |
188 | 1 | 2 | 6 |
189 | 2 | 3 | 8 |
190 | 2 | 4 | 10 |
191 | 3 | 5 | 12 |
192 | 3 | 6 | 15 |
193 | 0 | 0 | 2 |
194 | 0 | 1 | 4 |
195 | 0 | 1 | 6 |
196 | 0 | 2 | 8 |
197 | 0 | 2 | 10 |
198 | 0 | 3 | 12 |
199 | 0 | 3 | 15 |
200 | 1 | 1 | 2 |
201 | 3 | 3 | 4 |
202 | 5 | 4 | 6 |
203 | 7 | 6 | 8 |
204 | 9 | 8 | 10 |
205 | 11 | 9 | 12 |
206 | 13 | 11 | 15 |
207 | 1 | 1 | 2 |
208 | 3 | 2 | 4 |
209 | 4 | 3 | 6 |
210 | 6 | 4 | 8 |
211 | 8 | 5 | 10 |
212 | 9 | 6 | 12 |
213 | 11 | 7 | 15 |
214 | 1 | 0 | 2 |
215 | 2 | 1 | 4 |
216 | 4 | 1 | 6 |
217 | 5 | 2 | 8 |
218 | 6 | 2 | 10 |
219 | 8 | 3 | 12 |
220 | 9 | 3 | 15 |
221 | 1 | 0 | 2 |
222 | 2 | 0 | 4 |
223 | 3 | 0 | 6 |
224 | 4 | 0 | 8 |
225 | 5 | 0 | 10 |
226 | 6 | 0 | 12 |
227 | 7 | 0 | 15 |
228 | 2 | 1 | 2 |
229 | 4 | 3 | 4 |
230 | 6 | 4 | 6 |
231 | 8 | 6 | 8 |
232 | 10 | 8 | 10 |
233 | 12 | 9 | 12 |
234 | 15 | 11 | 14 |
235 | 2 | 1 | 1 |
236 | 4 | 2 | 3 |
237 | 6 | 3 | 5 |
238 | 8 | 4 | 7 |
239 | 10 | 5 | 9 |
240 | 12 | 6 | 11 |
241 | 15 | 7 | 13 |
242 | 2 | 0 | 1 |
243 | 4 | 1 | 3 |
244 | 6 | 1 | 5 |
245 | 8 | 2 | 6 |
246 | 10 | 2 | 8 |
247 | 12 | 3 | 10 |
248 | 15 | 3 | 12 |
249 | 2 | 0 | 1 |
250 | 4 | 0 | 3 |
251 | 6 | 0 | 4 |
252 | 8 | 0 | 6 |
253 | 10 | 0 | 8 |
254 | 12 | 0 | 9 |
255 | 15 | 0 | 11 |
Below are also PNG files that can be used in drawing programs:
256x1
16x16
Would you happen to have a palette file that can be used in something like Gimp og Paint.net ?
ReplyDeleteI managed to use your code that generates the HTML color table and modify it to generate a palette instead. The default Commander X16 palette can be downloaded here: https://cx16.dk/piskelc2bin/cx16_palette.gpl
DeleteGreat, thanks for contributing. As you guessed I did not have the palette file that before. I did however use the png-s from above to import into Aseprite and Paint.net
Delete