@Override
	public int filterRGB(int x, int y, int argb) {
		if (mIncludeAlpha || (argb & OPAQUE) == OPAQUE) {
			int darkenBy = (int) (((argb >> 16 & 255) * 0.3 + (argb >> 8 & 255) * 0.59 + (argb & 255) * 0.11) / 2.55);
			argb = argb & OPAQUE | mRed * darkenBy / 100 << 16 | mGreen * darkenBy / 100 << 8 | mBlue * darkenBy / 100;
		}
		return argb;
	}