/*
 * colors.js - javascript color definitions for isquared.nl
 * 
 * Hessel Schut, hessel@schut.be, 2007-09-22
 *
 */

 

// the palette
var palette = new Array (
	'#b6b670',
	'#c4d07d',
	'#bab58b',
	'#a5c68e',
	'#b0b59a',
	'#d49a9d',
	'#c4a09d',
	'#bba79f',
	'#bab1a0',
	'#baabab',
	'#8ea1b6',
	'#8bb5ba',
	'#babdba',
	'#cbcecb'
);


// return a random color index
function randomPaletteColorIndex() {
	return Math.floor(Math.random() * palette.length);
}

// return a random color
function randomPaletteColor() {
	return palette[randomPaletteColorIndex()];
}

