public int[] getColorLoc(int color, double tolerance) {
		for(int x = 0; x < Bot.WIDTH; x++) {
			for(int y = 0; y < Bot.HEIGHT; y++) {
				if(isInTolerance(getData(x, y), color, tolerance))
					return new int[] { x, y };
			}
		}
		return new int[] { -1, -1 };
	}