function colorizer(buttonId,random_number) {
	var buttonObj = document.getElementById(buttonId);
	if (random_number<=.04018) {
		buttonObj.style.backgroundColor = 'grey'
		buttonObj.style.color = 'white'}
	else if (random_number<=.11586) {
		buttonObj.style.backgroundColor = 'white'
		buttonObj.style.color = '#3C3C3C'}
	else if (random_number<=.19624) {
		buttonObj.style.backgroundColor = 'green'
		buttonObj.style.color = 'white'}
	else if (random_number<=.35699) {
		buttonObj.style.backgroundColor = 'orange'
		buttonObj.style.color = 'white'}
	else if (random_number<=.51775) {
		buttonObj.style.backgroundColor = 'yellow'
		buttonObj.style.color = '#3C3C3C'}
	else if (random_number<=.75887) {
		buttonObj.style.backgroundColor = 'red'
		buttonObj.style.color = 'white'}
	else if (random_number<=1.0000) {
		buttonObj.style.backgroundColor = 'blue'
		buttonObj.style.color = 'white'}
	}
//should be same ratio as feathers.

function colorize() {
	colorizer('button1',Math.random());
	colorizer('button2',Math.random());
	colorizer('button3',Math.random());
	colorizer('button4',Math.random());
	colorizer('button5',Math.random());
	colorizer('button6',Math.random());
	}
	
colorize();
