Skip to content

Commit

Permalink
added 2 color palettes
Browse files Browse the repository at this point in the history
  • Loading branch information
giventofly committed Jul 3, 2019
1 parent b3c071c commit f08af28
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
16 changes: 16 additions & 0 deletions docs/assets/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ const px = new pixelit({from: document.getElementById('pixelitimg')});

//stuff for webpage functionality
const paletteList = [
[
[13,43,69],
[32,60,86],
[84,78,104],
[141,105,122],
[208,129,89],
[255,170,94],
[255,212,163],
[255,236,214],
],
[
[48,0,48],
[96,40,120],
[248,144,32],
[248,240,136]
],
[
[26,28,44],
[93,39,93],
Expand Down
18 changes: 17 additions & 1 deletion docs/assets/mainmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,23 @@ var px = new pixelit({
from: document.getElementById('pixelitimg')
}); //stuff for webpage functionality

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]]];
var paletteList = [ [
[13,43,69],
[32,60,86],
[84,78,104],
[141,105,122],
[208,129,89],
[255,170,94],
[255,212,163],
[255,236,214],
],
[
[48,0,48],
[96,40,120],
[248,144,32],
[248,240,136]
],
[[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]]];
var currentPalette = 3;
var maxPalette = paletteList.length;
document.addEventListener("DOMContentLoaded", function () {
Expand Down

0 comments on commit f08af28

Please sign in to comment.