public static byte ComputeAlpha(byte la, byte ra) { return (byte)(((la * (256 - (ra + (ra >> 7)))) >> 8) + ra); }