public boolean isInTolerance(int fColor, int sColor, double tolerance) {
		int[] fc = getColorData(fColor);
		int[] sc = getColorData(sColor);
		return (Math.sqrt(((fc[0]-sc[0])*(fc[0]-sc[0])) + ((fc[1]-sc[1])*(fc[1]-sc[1])) + ((fc[2]-sc[2])*(fc[2]-sc[2]))) / 100) <= tolerance;
	}