Skip to content

Commit f08af28

Browse files
committed
added 2 color palettes
1 parent b3c071c commit f08af28

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

docs/assets/main.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ const px = new pixelit({from: document.getElementById('pixelitimg')});
44

55
//stuff for webpage functionality
66
const paletteList = [
7+
[
8+
[13,43,69],
9+
[32,60,86],
10+
[84,78,104],
11+
[141,105,122],
12+
[208,129,89],
13+
[255,170,94],
14+
[255,212,163],
15+
[255,236,214],
16+
],
17+
[
18+
[48,0,48],
19+
[96,40,120],
20+
[248,144,32],
21+
[248,240,136]
22+
],
723
[
824
[26,28,44],
925
[93,39,93],

docs/assets/mainmin.js

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,23 @@ var px = new pixelit({
55
from: document.getElementById('pixelitimg')
66
}); //stuff for webpage functionality
77

8-
var paletteList = [[[26, 28, 44], [93, 39, 93], [177, 62, 83], [239, 125, 87], [255, 205, 117], [167, 240, 112], [56, 183, 100], [37, 113, 121], [41, 54, 111], [59, 93, 201], [65, 166, 246], [115, 239, 247], [244, 244, 244], [148, 176, 194], [86, 108, 134], [51, 60, 87]], [[44, 33, 55], [118, 68, 98], [237, 180, 161], [169, 104, 104]], [[7, 5, 5], [33, 25, 25], [82, 58, 42], [138, 107, 62], [193, 156, 77], [234, 219, 116], [160, 179, 53], [83, 124, 68], [66, 60, 86], [89, 111, 175], [107, 185, 182], [251, 250, 249], [184, 170, 176], [121, 112, 126], [148, 91, 40]], [[140, 143, 174], [88, 69, 99], [62, 33, 55], [154, 99, 72], [215, 155, 125], [245, 237, 186], [192, 199, 65], [100, 125, 52], [228, 148, 58], [157, 48, 59], [210, 100, 113], [112, 55, 127], [126, 196, 193], [52, 133, 157], [23, 67, 75], [31, 14, 28]], [[94, 96, 110], [34, 52, 209], [12, 126, 69], [68, 170, 204], [138, 54, 34], [235, 138, 96], [0, 0, 0], [92, 46, 120], [226, 61, 105], [170, 92, 61], [255, 217, 63], [181, 181, 181], [255, 255, 255]], [[21, 25, 26], [138, 76, 88], [217, 98, 117], [230, 184, 193], [69, 107, 115], [75, 151, 166], [165, 189, 194], [255, 245, 247]]];
8+
var paletteList = [ [
9+
[13,43,69],
10+
[32,60,86],
11+
[84,78,104],
12+
[141,105,122],
13+
[208,129,89],
14+
[255,170,94],
15+
[255,212,163],
16+
[255,236,214],
17+
],
18+
[
19+
[48,0,48],
20+
[96,40,120],
21+
[248,144,32],
22+
[248,240,136]
23+
],
24+
[[26, 28, 44], [93, 39, 93], [177, 62, 83], [239, 125, 87], [255, 205, 117], [167, 240, 112], [56, 183, 100], [37, 113, 121], [41, 54, 111], [59, 93, 201], [65, 166, 246], [115, 239, 247], [244, 244, 244], [148, 176, 194], [86, 108, 134], [51, 60, 87]], [[44, 33, 55], [118, 68, 98], [237, 180, 161], [169, 104, 104]], [[7, 5, 5], [33, 25, 25], [82, 58, 42], [138, 107, 62], [193, 156, 77], [234, 219, 116], [160, 179, 53], [83, 124, 68], [66, 60, 86], [89, 111, 175], [107, 185, 182], [251, 250, 249], [184, 170, 176], [121, 112, 126], [148, 91, 40]], [[140, 143, 174], [88, 69, 99], [62, 33, 55], [154, 99, 72], [215, 155, 125], [245, 237, 186], [192, 199, 65], [100, 125, 52], [228, 148, 58], [157, 48, 59], [210, 100, 113], [112, 55, 127], [126, 196, 193], [52, 133, 157], [23, 67, 75], [31, 14, 28]], [[94, 96, 110], [34, 52, 209], [12, 126, 69], [68, 170, 204], [138, 54, 34], [235, 138, 96], [0, 0, 0], [92, 46, 120], [226, 61, 105], [170, 92, 61], [255, 217, 63], [181, 181, 181], [255, 255, 255]], [[21, 25, 26], [138, 76, 88], [217, 98, 117], [230, 184, 193], [69, 107, 115], [75, 151, 166], [165, 189, 194], [255, 245, 247]]];
925
var currentPalette = 3;
1026
var maxPalette = paletteList.length;
1127
document.addEventListener("DOMContentLoaded", function () {

0 commit comments

Comments
 (0)