public static int floatAlphaToIntAlpha(float alpha) {
		if(alpha < 0f || alpha > 1f) {
			throw new IllegalArgumentException("alpha must be between 0f and 1f. value: " + alpha);
		}
		return (int) (255 * alpha);
	}