private static void colorButtonByOverallChange(CustomButton a, String ticker) {

		Float overallChange = Database.INDIVIDUAL_OVERALL_CHANGES.get(ticker);
		if (overallChange == null)
			return;
		float marketChange = Database.calculateMarketChange(0, Float.MAX_VALUE);

		// System.out.println("ticker calc: (" + ticker + ")" + overallChange);
		// System.out.println("market calc: " + marketChange);
		float diff = overallChange - marketChange;
		int red = (int) (120 + diff * 1);
		int green = (int) (140 + diff * 3);
		int blue = (int) (140 + diff * 2);
		if (red > 254)
			red = 255;
		if (green > 254)
			green = 255;
		if (blue > 254)
			blue = 255;
		if (red < 1)
			red = 1;
		if (green < 1)
			green = 1;
		if (blue < 1)
			blue = 1;
		a.setBackground(new Color(red, green, blue));
		String bText = a.getText();
		bText += " v Mkt: " + diff;
		a.setText(bText);
	}