R/utils-colour.R
rgba_to_alpha.Rd
Calcuate the alpha value from the 4-element RGBA vector
rgba_to_alpha(rgba_vec)
4 element rgba with integer values [0, 255]
alpha in range [0,1]