private boolean getBrightness(int color, int brightness) {
		int[] c = getColorData(color);
	    return ((int) Math.sqrt(c[0] * c[0] * .241 + c[1] * c[1] * .691 + c[2] * c[2] * .068)) < brightness;
	}