Skip to content

Instantly share code, notes, and snippets.

@marianomike
Last active October 2, 2016 22:26
Show Gist options
  • Save marianomike/6b7504c9f516329d8f12be367cdabb68 to your computer and use it in GitHub Desktop.
Save marianomike/6b7504c9f516329d8f12be367cdabb68 to your computer and use it in GitHub Desktop.
for(var i = 0; i < palette.length; i++){
for(var z = 0; z < palette[i].length; z++){
//get the values we need from the palette array
var colorName = palette[i][z].name;
var colorValue = palette[i][z].value;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment