Calcuate the alpha value from the 4-element RGBA vector

rgba_to_alpha(rgba_vec)

Arguments

rgba_vec

4 element rgba with integer values [0, 255]

Value

alpha in range [0,1]